@capgeminiuk/dcx-react-library
Version:
[](https://circleci.com/gh/Capgemini/dcx-react-library)
10 lines (9 loc) • 318 B
TypeScript
/// <reference types="react" />
export type ListContextType = {
/**
* A CSS class for applying same styling to all the listItems
*/
itemClassName?: string;
};
export declare const ListContext: import("react").Context<ListContextType | undefined>;
export declare const useList: () => ListContextType;