@capgeminiuk/dcx-react-library
Version:
[](https://circleci.com/gh/Capgemini/dcx-react-library)
18 lines (17 loc) • 582 B
TypeScript
/// <reference types="react" />
export type BreadcrumbContextType = {
/**
* A CSS class for applying same styling to all the BreadcrumbItems
*/
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;
};
export declare const BreadcrumbContext: import("react").Context<BreadcrumbContextType | undefined>;
export declare const useBreadcrumb: () => BreadcrumbContextType;