welcome-ui
Version:
Customizable design system with react, typescript, tailwindcss and ariakit.
17 lines (16 loc) • 581 B
TypeScript
import { ComponentPropsWithRef, HTMLAttributes } from 'react';
interface BreadcrumbOptions {
children: React.ReactNode | React.ReactNode[];
/** set clickable or not the last child */
lastChildNotClickable?: boolean;
separator?: React.ReactNode | string;
}
export type BreadcrumbProps = BreadcrumbOptions & ComponentPropsWithRef<'div'> & HTMLAttributes<HTMLDivElement>;
export interface BreadcrumbItemOptions {
children: React.ReactNode;
'data-testid'?: string;
isActive?: boolean;
separator?: React.ReactNode | string;
to?: string;
}
export {};