UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

17 lines (16 loc) 583 B
import type { Key } from 'react'; interface AccordionContextValue { disableAnimation?: boolean; expandedKeys: Key[]; hideIndicator?: boolean; indicatorPlacement?: 'end' | 'start'; isExpanded: (key: Key) => boolean; keepContentMounted?: boolean; motionProps?: any; onToggle: (key: Key) => void; showDivider?: boolean; variant?: 'filled' | 'outlined' | 'borderless'; } export declare const AccordionContext: import("react").Context<AccordionContextValue | null>; export declare const useAccordionContext: () => AccordionContextValue; export {};