 {React, ReactDOM, rclass, redux, rtypes, Redux} = require('./smc-react')
 {Button, Navbar, Nav, NavItem, MenuItem} = require('react-bootstrap')
-Sidebar = require('react-sidebar').default
 {Loading, Icon, Tip} = require('./r_misc')
 
 # SMC Pages

        redux : rtypes.object

    getInitialState: ->
        show_right_menu : false

    componentWillUnmount: ->
        @actions('page').clear_all_handlers()

                    icon           = 'medkit'
                    actions        = {@actions('page')}
                    active_top_tab = {@props.active_top_tab}
                    on_click       = {=>@close_menu();redux.getActions('support').show(true)}
                    style          = {width:'100%'}
                />
                {<NotificationBell
                    on_click = {@close_menu}
                    count    = {@props.get_notify_count()}
                    active   = {@props.show_file_use}
                /> if @props.is_logged_in()}
                <ConnectionIndicator
                    on_click = {@close_menu}
                    actions  = {@actions('page')}
                />
            </Nav>
