@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
25 lines • 754 B
text/typescript
import { ReactNode } from "react";
//#region src/dashboard/Breadcrumb/type.d.ts
interface BreadcrumbItem {
href?: string;
label: ReactNode;
/** Called instead of following `href`. */
onClick?: () => void;
/** Dropped on narrow screens. Use this for a group name that the page title already repeats. */
optional?: boolean;
}
interface BreadcrumbLinkProps {
children: ReactNode;
className: string;
href: string;
onClick?: () => void;
}
interface BreadcrumbProps {
items: BreadcrumbItem[];
/** Accessible name for the navigation landmark. */
label?: string;
renderLink?: (props: BreadcrumbLinkProps) => ReactNode;
}
//#endregion
export { BreadcrumbItem, BreadcrumbLinkProps, BreadcrumbProps };
//# sourceMappingURL=type.d.mts.map