0.0.2 • Published 6 years ago
react-selectable-grid v0.0.2
react-selectable-grid
Simple and clean Drawer Component for React.js NPM
Installing
npm install --save react-selectable-grid
Usage
// Import RSGrid
import {RSGrid} from "react-selectable-grid";
Example Usage.
import React, { Component } from 'react'
import {RSGrid} from "react-selectable-grid";
class App extends Component { constructor(props) { super(props); this.state={open:null} } render() { return (
<div className="App">
<RSGrid
width="90vw"
height="50vh"
cols={4}
rows={4}
gap="10px"
onSelected={(i, classname) => {
console.log(i, classname);
}}
/>
</div>
);
} }
export default App;
### Development
```bash
git clone https://github.com/Aniket965/react-selectable-grid.git
cd react-selectable-grid
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
- aniket965 - Initial work - aniket965
License
This project is licensed under the MIT License - see the LICENSE.md file for details