@sikka/hawa
Version:
Modern UI Kit made with Tailwind
17 lines (14 loc) • 504 B
text/typescript
import { FC, ReactNode } from 'react';
type BreadcrumbItemProps = {
label: string;
href: string;
};
interface BCTypes {
/** The array of crumbs, each one with a label and a href link */
breadcrumbLinks: BreadcrumbItemProps[];
/** The separator between each crumb, can be character or React Node. The default is ">" */
separator?: string | ReactNode;
size?: "normal" | "small" | "xs";
}
declare const Breadcrumb: FC<BCTypes>;
export { Breadcrumb, type BreadcrumbItemProps };