Skip to content

mcountis/Cinch-collapsible

Repository files navigation

Cinch-Collapse

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.

v2.0.0 released

latest updates

  • onChange listener
  • className prop

in order to make use of the onChange listener, each panel must have a unique string id

Collapsible

  • accordian?: boolean;
  • timeout?: number;
  • ease?: "ease" | "inOut" | "in" | "out" | number[];
  • delay?: number;
  • className?: string;
  • onChange?: (ids: string) => void;

Panel

  • header: string | JSX.Element;
  • noPadding?: boolean;
  • id?: string
  • className?: string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published