this.setState ({menuVisible:! this.state.menuVisible})}>
ABCD
{
menus.map ((menu, index) => (
{} Menu.name
))
}
<Sidebar.Pusher dimmed={menuVisible}>
<Segment className="pusherSegmentClass">
<Switch>
<Route exact path="/home" component={CreateNewBooking} />
<Route exact path="/home/allBookings" component={BookingsList} />
<Route exact path="/home/bookingDetails" component={BookingsPreview} />
</Switch>
</Segment>
</Sidebar.Pusher>
</Sidebar.Pushable>
</Container>