UNPKG

577 BTypeScriptView Raw
1import type { BreadcrumbProps as BreadcrumbUiProps } from '../ui/Breadcrumb';
2import type { UseBreadcrumbProps } from 'react-instantsearch-core';
3type UiProps = Pick<BreadcrumbUiProps, 'items' | 'hasItems' | 'createURL' | 'onNavigate' | 'translations'>;
4export type BreadcrumbProps = Omit<BreadcrumbUiProps, keyof UiProps> & Omit<UseBreadcrumbProps, 'separator'> & {
5 translations?: Partial<UiProps['translations']>;
6};
7export declare function Breadcrumb({ attributes, rootPath, separator, transformItems, translations, ...props }: BreadcrumbProps): JSX.Element;
8export {};