@inthepocket/itp-rcc-collapse

0.0.2 • Public • Published

ITP Basic React Collapse / Accordion 🎁

Why use this over your own implementation?

  • Enforced isolation and reusability
  • Tests included
  • Browser support included (supports ie8 and up)
  • Accessibility included
  • Shared well-thought-out implementation over projects: this implementation should cover your use case and all future versions of your use case
  • Styled examples: if the design can't be built using this component we need to either rethink this implementation or change the design
  • Lazy render support included
  • Customizable animation included

API

Extends rc-collapse with stripped styling.

Develop locally

npm start Go to localhost:3001 and see your changes appearing automatically

Develop in the ITP Component Storybook

==> Any changes you make here will be automatically reflected inside the design-docs

  • Do npm link in this repo, this will create a symlink in the global folder on your computer.
  • Run npm run watchin this repo. Babel will watch for file changes in your src directory and copy changes towards the dist folder.
  • Do npm link <YOUR_PACKAGE_NAME> inside the itp-react-common-components library.

/@inthepocket/itp-rcc-collapse/

    Package Sidebar

    Install

    npm i @inthepocket/itp-rcc-collapse

    Weekly Downloads

    3

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    3.8 MB

    Total Files

    13

    Last publish

    Collaborators

    • sieem
    • lode.vanhove
    • moutpessemier
    • stijnv
    • robrechtme
    • klukies
    • eliaslecomte
    • gertjanreynaert
    • itpit
    • thibmaek
    • brecht
    • jonasdegeest
    • kevinmeyvaert
    • tmons