@multimatic/react-node-position

0.0.3 • Public • Published

Modify by Multimatic

React Collapsibles

Now you see it, now you don't.

Quick Start

Installation

$ yarn add @multimatic/react-collapsibles

Compositon

  <Collapsible clickableNode={<p>Click to open</p>}>
    ...
  </Collapsible>
  <CollapsibleGroup
    allowMultiple={false}
    collapsibles={[
      {
        clickableNode: <p>Click to open</p>,
        children: <p>this</p>,
      },
      {
        clickableNode: <p>Or click to open</p>,
        children: <p>this instead</p>,
      },
    ]}
  />

Demo

To demo locally, clone the repo and

$ yarn install
$ npm run dev
$ open http://localhost:3000

Documentation

All available props can be found via the references below:

  • Collapsible
  • CollapsibleGroup

License

MIT Copyright (c) Multimatic

Package Sidebar

Install

npm i @multimatic/react-node-position

Weekly Downloads

4

Version

0.0.3

License

MIT

Unpacked Size

45.3 kB

Total Files

4

Last publish

Collaborators

  • ferdin
  • rapatel-mm