import { type ComponentDefaultProps } from '@justeattakeaway/pie-webc-core'; export const variants = ['default', 'scrim'] as const; type AriaProps = { label?: string; }; export interface BreadcrumbProps { /** * The ARIA labels used for various parts of the breadcrumb. */ aria?: AriaProps; /** * Optional variant for styling the breadcrumb component. */ variant?: typeof variants[number]; /** * Optional property for rendering a compact variation of the breadcrumb. */ isCompact?: boolean; /** * Optional property to hide the current page of the breadcrumb (last item). */ hideCurrentPage?: boolean; } export type DefaultProps = ComponentDefaultProps>; export const defaultProps:DefaultProps = { variant: 'default', isCompact: false, hideCurrentPage: false, };