import { Direction } from './AnimatedWrappers'; import { ButtonBackgroundInterface } from './Button'; import { ClassNameInterface, TestId } from './utils'; export type AccordionProps = { /** The `direction` prop sets the direction the wrapper will animate */ direction?: Direction; /** The `headerClassName` prop will be passed to the AccordionHeader */ headerClassName?: string; open: boolean; } & AccordionHeaderProps; export type AccordionHeaderProps = { /** Sets the AccodionHeader's content */ title: string; /** Toggles the Accordion */ toggle: () => void; } & ButtonBackgroundInterface & ClassNameInterface & TestId;