UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

12 lines (11 loc) 589 B
import { Dispatch, HTMLProps, ReactElement, SetStateAction } from 'react'; import { NJAccordionActionProps } from './NJAccordionAction'; type TNJAccordionContext = { action?: (type: NJAccordionActionProps['action']) => () => void; hasAlternativeToggleIcon?: boolean; setHasAlternativeToggleIcon?: Dispatch<SetStateAction<boolean | undefined>>; customIcon?: ReactElement<unknown>; setCustomIcon?: Dispatch<SetStateAction<ReactElement<HTMLProps<unknown>> | undefined>>; }; export declare const NJAccordionContext: import("react").Context<TNJAccordionContext>; export {};