0.1.3 • Published 7 years ago

expandible v0.1.3

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Expandible

Making Expandibles / Collapsible / Accordian core easy ❤️

Build Status NPM version

Built with / for TypeScript / React. Expand and collapse certain DOM with silky smooth transitions.

Powered by your github ⭐s

Usage

npm install expandible --save-dev

Use with react:

import {Expandible} from "expandible";

// Later

{/** Toggle */}
<button onClick={() => this.setState({ open: !this.state.open })}>Toggle</button>

{/** Expandible */}
<Expandible open={this.state.open}>
  <div>
    Hello world!
  </div>
</Expandible>

Demo

The above code is exactly how this works: npm.io

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago