1.0.12 • Published 6 years ago

react-clean-drawer v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

react-clean-drawer

Simple and clean Drawer Component for React.js NPM

Installing

npm install --save react-clean-drawer

Usage

// Import css and Drawer Component
import Drawer from 'react-clean-drawer'
import 'react-clean-drawer/lib/react-clean-drawer.css'

Example Usage.

import React, { Component } from 'react'

import Drawer from 'react-clean-drawer' import 'react-clean-drawer/lib/react-clean-drawer.css'

class App extends Component { constructor(props) { super(props); this.state={open:null} } render() { return (

  <div className="App">
      <button onClick={()=>this.setState({open:!this.state.open})}>Toggle</button>
    <Drawer open={this.state.open} ></Drawer>
  </div>
);

} }

export default App;

### Development

```bash
git clone https://github.com/Aniket965/react-clean-drawer.git
cd react-clean-drawer

Install Dependices

yarn

Build

yarn build

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

1.0.12

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.971

6 years ago

0.0.97

6 years ago

0.0.96

6 years ago

0.0.95

6 years ago

0.0.94

6 years ago

0.0.93

6 years ago

0.0.92

6 years ago

0.0.91

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.1

6 years ago