@trail-ui/react
Version:
15 lines (12 loc) • 459 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { SlotsToClasses, SideNavbarSlots } from '@trail-ui/theme';
interface SideNavbarItem {
title: string;
icon: JSX.Element;
}
interface SideNavbarProps {
data: SideNavbarItem[];
classNames?: SlotsToClasses<SideNavbarSlots>;
}
declare function SideNavbar({ data, classNames }: SideNavbarProps): react_jsx_runtime.JSX.Element;
export { SideNavbar, SideNavbarItem, SideNavbarProps };