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)

14 lines (13 loc) 499 B
/// <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;