UNPKG

@capgeminiuk/dcx-react-library

Version:

[![CircleCI](https://circleci.com/gh/Capgemini/dcx-react-library.svg?style=svg)](https://circleci.com/gh/Capgemini/dcx-react-library)

29 lines (28 loc) 933 B
import React from 'react'; export type BreadcrumbProps = { /** * allow to specify a custom content */ children: JSX.Element[]; /** * A CSS class for styling Breadcrumb */ className?: string; /** * A CSS class for applying the same styling in case all the BreadcrumbItems have exactly the same look and feel */ itemsClassName?: string; /** * A CSS class for applying the same styling to all the BreadcrumbItems */ itemSelectedClassName?: string; /** * allow to specify a user to add a separator */ separatorItem?: JSX.Element; /** * allow to specify a user with Additional props/attributes */ breadcrumbsProps?: React.HTMLAttributes<HTMLOListElement>; }; export declare const Breadcrumb: ({ children, itemsClassName, className, itemSelectedClassName, separatorItem, breadcrumbsProps, }: BreadcrumbProps) => React.JSX.Element;