sidebar-ui-react
Version:
28 lines (27 loc) • 656 B
TypeScript
import React from 'react';
import '../styles/sidebar.scss';
type SidebarProps = {
headerImage?: string;
fontColor?: string;
backgroundColor?: string;
hoverContainerBackground?: string;
heading?: string;
name?: string;
email?: string;
avatar?: string;
collapse?: boolean;
dividerColor?: string;
theme?: 'light' | 'dark';
hideToggleIcon?: boolean;
menus?: {
title: string;
icon: React.ReactNode;
path: string;
subMenu?: {
value: string;
subPath: string;
}[];
}[];
};
declare const Sidebar: React.FC<SidebarProps>;
export default Sidebar;