useItems.d.ts 314 B

123456
  1. import type { BreadcrumbItemType, BreadcrumbSeparatorType, ItemType } from './Breadcrumb';
  2. type MergedType = BreadcrumbItemType & {
  3. children?: ItemType['children'];
  4. };
  5. export default function useItems(items?: ItemType[], routes?: ItemType[]): Partial<MergedType & BreadcrumbSeparatorType>[] | null;
  6. export {};