|
@ -9,14 +9,21 @@ const Sidebar = ({ |
|
|
handleSidebarSelect, |
|
|
handleSidebarSelect, |
|
|
}: any) => { |
|
|
}: any) => { |
|
|
return ( |
|
|
return ( |
|
|
<FixedSidebar id="sidebar" width={expand ? 193 : 56} collapsible> |
|
|
<FixedSidebar |
|
|
|
|
|
id="sidebar" |
|
|
|
|
|
style={{ |
|
|
|
|
|
height: 'calc(100% - 122px)', |
|
|
|
|
|
}} |
|
|
|
|
|
width={expand ? 193 : 56} |
|
|
|
|
|
collapsible |
|
|
|
|
|
> |
|
|
<Sidenav |
|
|
<Sidenav |
|
|
expanded={expand} |
|
|
|
|
|
appearance="default" |
|
|
|
|
|
style={{ |
|
|
style={{ |
|
|
height: 'calc(100% - 122px)', |
|
|
height: '100%', |
|
|
borderRight: '1px solid #48545c', |
|
|
borderRight: '1px solid #48545c', |
|
|
}} |
|
|
}} |
|
|
|
|
|
expanded={expand} |
|
|
|
|
|
appearance="default" |
|
|
> |
|
|
> |
|
|
<Sidenav.Header /> |
|
|
<Sidenav.Header /> |
|
|
<Sidenav.Body> |
|
|
<Sidenav.Body> |
|
|