@capgeminiuk/dcx-react-library
Version:
[](https://circleci.com/gh/Capgemini/dcx-react-library)
14 lines (13 loc) • 499 B
TypeScript
/// <reference types="react" />
export type DescriptionListContextType = {
/**
* A CSS class for applying same styling to all the Definition Term
*/
termClassName?: string;
/**
* A CSS class for applying same styling to all the Definition Detail
*/
detailClassName?: string;
};
export declare const DescriptionListContext: import("react").Context<DescriptionListContextType | undefined>;
export declare const useDescriptionList: () => DescriptionListContextType;