@heycar-uikit/core
Version:
The React UI library from HeyCar
24 lines (23 loc) • 692 B
TypeScript
/// <reference types="react" />
import { FC } from 'react';
interface BreadcrumbLinkProps {
link?: string;
className?: string;
children: React.ReactNode;
}
interface Breadcrumb {
link?: string;
title: string;
}
interface BreadcrumbsProps {
breadcrumbs: Breadcrumb[];
/**
* By default, the Breadcrumbs component uses a standard anchor element to build links. However you can pass a custom element to be used for all links.
*/
LinkComponent?: (props: BreadcrumbLinkProps) => JSX.Element;
dataTestId?: string;
className?: string;
}
declare const Breadcrumbs: FC<BreadcrumbsProps>;
export { Breadcrumbs as default };
export type { Breadcrumb };