Sha256: 5716029555a86a46735c23bf8b332518a0a02d714954be048ded76422ecb1d31

Contents?: true

Size: 713 Bytes

Versions: 3

Compression:

Stored size: 713 Bytes

Contents

class Lanes.Screens.CommonComponents extends Lanes.React.Component

    propTypes:
        commands:        React.PropTypes.object.isRequired
        errors:          React.PropTypes.bool
        networkActivity: React.PropTypes.bool
        toolbarProps:    React.PropTypes.object



    render: ->
        model = @props.commands.getModel()
        <div>
            {unless @networkActivity is false
                <LC.NetworkActivityOverlay model={model} {...@props} /> }
            <LC.Toolbar {...@props} {...@props.toolbarProps} model={model}>
                {@props.children}
            </LC.Toolbar>
            {<LC.ErrorDisplay model={model} {...@props} /> unless @errors  is false}
        </div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lanes-0.7.0 client/lanes/screens/CommonComponents.cjsx
lanes-0.6.1 client/lanes/screens/CommonComponents.cjsx
lanes-0.6.0 client/lanes/screens/CommonComponents.cjsx