0.0.2 • Published 6 years ago

react-selectable-grid v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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

License

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

0.0.2

6 years ago

0.0.1

6 years ago