UNPKG

spartan-ui

Version:

React component library that focusses on getting the basics right leaving the design up to you

10 lines (9 loc) 350 B
import { FunctionComponent } from 'react'; import { CommonProps } from '../../types'; interface AccordionProps extends CommonProps { onClick?: (e: MouseEvent | KeyboardEvent, open: string[]) => void; multi?: boolean; defaultOpen?: string[]; } declare const Accordion: FunctionComponent<AccordionProps>; export default Accordion;