xtreme-ui
Version:
Collection of reusable components that can be used in web projects
15 lines • 363 B
TypeScript
import { ElementType, ReactNode } from 'react';
export type TNavigationProps = {
className?: string;
children?: ReactNode;
as?: ElementType;
hrefPropName?: string;
pathname: string;
routes: TNavigationRoute[];
};
export type TNavigationRoute = {
name: string;
href: string;
icon?: string;
};
//# sourceMappingURL=types.d.ts.map