import React from 'react'; declare type BreadcrumbAttributes = React.ComponentPropsWithoutRef<'ol'>; export interface BreadcrumbProps extends BreadcrumbAttributes { /** * Set html heading tag level for current page */ heading?: number; /** * Add item(s) to Breadcrumb * @default [] */ items?: BreadcrumbItem[]; } export interface BreadcrumbItem { /** * Set anchor tag target attribute */ target?: string; /** * Set item / link text label */ text?: string; /** * Set item / link url */ url?: string | ((e: React.MouseEvent) => void); /** * Pass a callback function on click */ onClick?: (e: React.MouseEvent) => void; } export {};