Cinch Collapse is a minimally styled React collapse and accordian component. It was been developed so that with the least effort you can style it to suit your project.
latest updates
- onChange listener
- className prop
in order to make use of the onChange listener, each panel must have a unique string id
- accordian?: boolean;
- timeout?: number;
- ease?: "ease" | "inOut" | "in" | "out" | number[];
- delay?: number;
- className?: string;
- onChange?: (ids: string) => void;
- header: string | JSX.Element;
- noPadding?: boolean;
- id?: string
- className?: string