JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 35
  • Score
    100M100P100Q53102F
  • License ISC

A simple lightweight react accordian component

Package Exports

  • cinch-collapsible

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cinch-collapsible) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Cinch-Collapse

Cinch Collapse is a minimally styled React collapse / accordian component. It was been developed so that with minimum effort you can style it to suit your project. It is written in Typescript and can be dropped into your project in seconds

Demo

Coming in v2.0.0 release

  • onChange listener
  • className prop

V1.0.0 release has the following properties

Collapsible

  • accordian?: boolean;
  • timeout?: number;
  • ease?: "ease" | "inOut" | "in" | "out" | number[];
  • delay?: number;

Panel

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