@theaimegroup/aime-component-library
Version:
AIME Component Library
38 lines (37 loc) • 995 B
TypeScript
interface SidebarMenuItem {
label: string;
icon?: string;
path: string;
}
interface SidebarMenuSection {
label?: string;
menuItems: SidebarMenuItem[];
}
interface SidebarProps {
componentName?: string;
menuItemSections: SidebarMenuSection[];
dividerStyles?: {
color?: string;
thickness?: string;
};
logoIcon?: string;
primaryColor?: string;
secondaryColor?: string;
activeItemBG?: string;
activeItemColor?: string;
showLogoBG?: boolean;
logoBgColor?: string;
navItemFontSize?: string;
logoSize?: number;
sideBarPaddingX?: string;
sideBarPaddingY?: string;
menuItemsPaddingX?: string;
menuItemsPaddingY?: string;
menuItemsCornerRadius?: string;
isSearchInput?: boolean;
searchInputBg?: string;
searchIconColor?: string;
searchIconPosition?: string;
}
declare function Sidebar(props: SidebarProps): JSX.Element;
export default Sidebar;