0.3.1 • Published 5 years ago

react-grid-dropdown v0.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

React-Grid-Dropdown

npm version travis build

alt tag

Installation

npm install react-grid-dropdown --save

Usage

import GridDropdown from 'react-grid-dropdown'
import 'react-grid-dropdown/dist/style.css'

<GridDropdown
  label="dropdown"
  activeItem={this.state.activeItem}
  items={
    [{section: 'category', label: 'itemLabel', id: 'itemId', backgroundImage: `url(${url})`, onClick: () => this.setState({ activeItem: 'itemId' })}]
  }
/>

Options

Item

License

GitHub license

Developed by bl00mber for cellular automata generator