interface BreadcrumbProps<T> {
    children?: ReactNode;
    className?: string;
    itemRender?: ((route, params, routes, paths) => ReactNode);
    items?: Partial<BreadcrumbItemType & BreadcrumbSeparatorType>[];
    params?: T;
    prefixCls?: string;
    rootClassName?: string;
    routes?: Partial<BreadcrumbItemType & BreadcrumbSeparatorType>[];
    separator?: ReactNode;
    style?: CSSProperties;
}

Type Parameters

  • T extends AnyObject = AnyObject

Properties

children?: ReactNode
className?: string
itemRender?: ((route, params, routes, paths) => ReactNode)

Type declaration

    • (route, params, routes, paths): ReactNode
    • Parameters

      • route: Partial<BreadcrumbItemType & BreadcrumbSeparatorType>
      • params: T
      • routes: Partial<BreadcrumbItemType & BreadcrumbSeparatorType>[]
      • paths: string[]

      Returns ReactNode

items?: Partial<BreadcrumbItemType & BreadcrumbSeparatorType>[]
params?: T
prefixCls?: string
rootClassName?: string
routes?: Partial<BreadcrumbItemType & BreadcrumbSeparatorType>[]

Deprecated

Please use items instead

separator?: ReactNode
style?: CSSProperties

Generated using TypeDoc