@clubmed/trident-ui
Version:
Shared ClubMed React UI components
15 lines (14 loc) • 417 B
TypeScript
import type { FunctionComponent, PropsWithChildren } from 'react';
export interface BreadcrumbProps {
className?: string;
items: {
label: string;
href: string;
}[];
theme?: 'dark' | 'light';
/**
* Allow giving a custom component
*/
component?: FunctionComponent<PropsWithChildren<any>> | string;
}
export declare const Breadcrumb: FunctionComponent<BreadcrumbProps>;