Added SideBar UI.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { ProSidebar, SidebarHeader, SidebarFooter, SidebarContent } from 'react-pro-sidebar';
|
||||
import 'react-pro-sidebar/dist/css/styles.css';
|
||||
import '../styles/SideBar.css';
|
||||
import { useState } from 'react';
|
||||
|
||||
const SideBar = ({ handleToggleSidebar, toggle }) => {
|
||||
return (
|
||||
<ProSidebar
|
||||
toggled={toggle}
|
||||
breakPoint="lg"
|
||||
onToggle={handleToggleSidebar}
|
||||
className='sidebar'>
|
||||
<SidebarHeader>
|
||||
LOGO
|
||||
</SidebarHeader>
|
||||
<SidebarContent>
|
||||
CONTENT
|
||||
</SidebarContent>
|
||||
<SidebarFooter>
|
||||
FOOTER
|
||||
</SidebarFooter>
|
||||
</ProSidebar>
|
||||
)
|
||||
}
|
||||
|
||||
export default SideBar
|
||||
Reference in New Issue
Block a user