@wonderflow/react-components
Version:
UI components from Wonderflow's Wanda design system
28 lines • 935 B
TypeScript
import { PropsWithChildren } from 'react';
import { AccordionItemProps } from '../..';
export declare type AccordionProps = PropsWithChildren<PropsWithClass<{
/**
* Set the item to open by default when the accordion is rendered.
*/
defaultOpen?: AccordionItemProps['value'];
/**
* Show visual separator between accordion items
*/
showSeparators?: boolean;
}>>;
export declare const Accordion: import("react").ForwardRefExoticComponent<{
style?: Record<string, any> | undefined;
className?: string | undefined;
} & {
/**
* Set the item to open by default when the accordion is rendered.
*/
defaultOpen?: string | undefined;
/**
* Show visual separator between accordion items
*/
showSeparators?: boolean | undefined;
} & {
children?: import("react").ReactNode;
} & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=accordion.d.ts.map