Sha256: 03f9ff37a83ef1e47739e8bb6e2059ee94e027e7e4ba78e078f917e9d46e4824
Contents?: true
Size: 741 Bytes
Versions: 4
Compression:
Stored size: 741 Bytes
Contents
class SC.ScreenControls extends Lanes.React.Component propTypes: commands: React.PropTypes.instanceOf(Lanes.Screens.Commands).isRequired toolbar: React.PropTypes.bool errors: React.PropTypes.bool networkActivity: React.PropTypes.bool toolbarProps: React.PropTypes.object PrintButton: -> return null unless @props.commands.canPrint?() <SC.ToolbarButton onClick={@props.commands.printModel} className='print'> <LC.Icon type="print" />Print </SC.ToolbarButton> render: -> <Lanes.Screens.CommonComponents {...@props}> <@PrintButton /> {@props.children} </Lanes.Screens.CommonComponents>
Version data entries
4 entries across 4 versions & 1 rubygems