IconSideBar component
A component that creates a side bar with icon buttons
Install
npm i @wethecurious/wtc-ui-library
Usage
Import it into your project
import { IconSidebar } from '@wethecurious/wtc-ui-library'
Prop
<IconSidebar
content={[
{
icon: IconType.Add,
onClick: () => console.log('clicked')
},
{
icon: IconType.Expand,
onClick: () => console.log('clicked')
},
{
icon: IconType.CloseDelete,
onClick: () => console.log('clicked')
}
]}
/>
IconNavButton
Prop | Description | Default |
---|---|---|
content | An array of IconNavButton props |