Type Alias CrumbItem

CrumbItem: {
    icon?: IconName | IconProps;
    label: React.ReactNode;
    LinkProps?: LinkProps;
    loading?: boolean;
    navigation?: CrumbsProps["navigation"];
    path?: string | (() => any);
    SkeletonProps?: SkeletonProps;
    WrapperProps?: RowProps;
}

Type declaration

  • Optionalicon?: IconName | IconProps

    the icon to display in the link.

  • label: React.ReactNode

    the label to display in the link.

  • OptionalLinkProps?: LinkProps

    the props to pass to the MUI <Link/> component.

  • Optionalloading?: boolean

    if true, displays a skeleton instead of the link.

  • Optionalnavigation?: CrumbsProps["navigation"]

    the navigation to use for the link.

  • Optionalpath?: string | (() => any)

    the path to navigate to when the link is clicked.

  • OptionalSkeletonProps?: SkeletonProps

    the props to pass to the MUI <Skeleton/> component that displays when the link is loading.

  • OptionalWrapperProps?: RowProps

    the props to pass to the <Row/> component that wraps the link.