UNPKG

@praetorian-chariot/ui

Version:

The UI component library for Chariot, built with Tailwind CSS and React.

28 lines 739 B
import React from "react"; export interface LeftNavProps { brandLogo: React.JSX.Element; mainNavItems: NavItem[]; footerNavItems?: NavItem[]; footerTitle?: string; collapsed?: boolean; } export interface NavItem { label: string; icon: React.JSX.Element; selected?: boolean; linkTo?: (children: React.ReactNode) => React.ReactNode; disabled?: boolean; tooltip?: string; items?: SubItem[]; } interface SubItem { label: string; icon?: React.JSX.Element; linkTo?: (children: React.ReactNode) => React.ReactNode; disabled?: boolean; tooltip?: string; type?: "header"; } export declare const LeftNav: React.FC<LeftNavProps>; export {}; //# sourceMappingURL=LeftNav.d.ts.map