import React from 'react'; import '../../styles/base.module.css'; import { AllElementPropsWithoutRef } from '../../utils/elementTypings'; export interface BreadcrumbCustomTheme { /** * Custom horizontal margins for small screens. * This is for the mobile view with only a single visible path. * Default --spacing-layout-2-xs */ '--horizontal-margin-small'?: string; /** * Custom horizontal margins for medium screens * Default --spacing-layout-xs */ '--horizontal-margin-medium'?: string; /** * Custom horizontal margins for large screens * Default --spacing-layout-xs */ '--horizontal-margin-large'?: string; /** * Custom horizontal margins for x-large screens * Default --spacing-layout-s */ '--horizontal-margin-x-large'?: string; } export type BreadcrumbListItem = { title: string; path: string | null; }; export type BreadcrumbProps = AllElementPropsWithoutRef<'nav'> & { /** * Aria-label must be provided for the created