UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

18 lines (17 loc) 555 B
/** * MSKCC DSM 2021, 2023 */ import React, { PropsWithChildren } from 'react'; type AccordionProviderProp = { /** * Global setting to disable all AccordionItems * within the Accordion. Individual AccordionItems can be * disabled by passing the `disabled` prop to the AccordionItem. */ disabled: boolean; }; export declare const AccordionContext: React.Context<{ disabled: boolean; }>; export declare const AccordionProvider: ({ disabled, children, }: PropsWithChildren<AccordionProviderProp>) => JSX.Element; export {};