@rkosafo/cai.components
Version:
This package is under development and not ready for public use.
22 lines (21 loc) • 536 B
TypeScript
export interface TFSidebarProps {
homeUrl: string;
logoUrl: string;
appShortName: string;
appName: string;
hideSidebar?: boolean;
menuItems: IMenuItem[];
}
export interface IMenuItem {
title: string;
icon?: string;
path?: string;
items?: IMenuItem[] | null;
description?: string;
iconBg?: string;
iconColor?: string;
iconSize?: number;
}
declare const Sidebar: import("svelte").Component<TFSidebarProps, {}, "">;
type Sidebar = ReturnType<typeof Sidebar>;
export default Sidebar;