UNPKG

grommet

Version:

focus on the essential experience

19 lines (15 loc) 1.05 kB
import * as React from "react"; export interface AccordionProps { a11yTitle?: string; alignSelf?: "start" | "center" | "end" | "stretch"; gridArea?: string; margin?: "none" | "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | {bottom?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,horizontal?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,left?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,right?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,top?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,vertical?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string} | string; activeIndex?: number | number[]; animate?: boolean; children?: React.ReactNode; onActive?: ((...args: any[]) => any); multiple?: boolean; messages?: {tabContents?: string}; } declare const Accordion: React.ComponentClass<AccordionProps & JSX.IntrinsicElements['div']>; export { Accordion };