UNPKG

@atlaskit/breadcrumbs

Version:

Breadcrumbs are a navigation system used to show a user's location in a site or app.

26 lines (25 loc) • 1.07 kB
/** * @jsxRuntime classic * @jsx jsx */ import { type Ref } from 'react'; import { type StrictXCSSProp } from '@atlaskit/css'; import { type BreadcrumbsItemProps } from '../../types'; export type BreadcrumbsItemBaseProps = Pick<BreadcrumbsItemProps, 'analyticsContext' | 'aria-label' | 'aria-labelledby' | 'elemBefore' | 'href' | 'iconAfter' | 'iconBefore' | 'onClick' | 'target' | 'testId' | 'text' | 'title' | 'truncationWidth'> & { 'aria-current'?: 'page' | boolean; /** * Ref for measuring the rendered control. */ stepRef?: Ref<HTMLElement>; /** * Bounded style overrides applied to the wrapping list item. */ xcss?: StrictXCSSProp<'display', never>; /** * Controls whether a tooltip is shown around the item text. */ shouldShowTooltip?: boolean; onTooltipShown?: () => void; }; declare const BreadcrumbsItemBase: import('react').ForwardRefExoticComponent<import('react').PropsWithoutRef<BreadcrumbsItemBaseProps> & import('react').RefAttributes<HTMLLIElement>>; export default BreadcrumbsItemBase;