fomantic-ui-react
Version:
Fomantic-UI React -- A React Component Library.
16 lines (15 loc) • 747 B
TypeScript
/// <reference types="react" />
import { AccordionProps } from './type';
declare const Accordion: {
({ as, className, children, ...props }: AccordionProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
displayName: string;
Title: {
({ as, active, index, onClick, className, content, children, ...props }: import("./type").AccordionTitleProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
displayName: string;
};
Content: {
({ as, active, duration, className, style, content, children, ...props }: import("./type").AccordionContentProps): JSX.Element;
displayName: string;
};
};
export default Accordion;