Sha256: d62e3e81380a8e3c0e9b3afc6e4171fad7e94754c6995555060a4a82ff3836c5

Contents?: true

Size: 727 Bytes

Versions: 5

Compression:

Stored size: 727 Bytes

Contents

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

    propTypes:
        commands:        React.PropTypes.instanceOf(Lanes.Screens.Commands).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}>
                {@props.children}
            </LC.Toolbar>
            {<LC.ErrorDisplay model={model} {...@props} /> unless @errors  is false}
        </div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lanes-0.5.6 client/lanes/screens/CommonComponents.cjsx
lanes-0.5.5 client/lanes/screens/CommonComponents.cjsx
lanes-0.5.0 client/lanes/screens/CommonComponents.cjsx
lanes-0.4.0 client/lanes/screens/CommonComponents.cjsx
lanes-0.3.0 client/lanes/screens/CommonComponents.cjsx