import { BreadcrumbsProps as MUBreadcrumbsProps } from '@material-ui/core';

export interface BreadcrumbsProps extends Omit<MUBreadcrumbsProps, 'children'> {
  data: BreadcrumbItem[];
}

export type BreadcrumbItem = {
  text: string;
  onClick: () => void;
};
