react-grid-dropdown
v0.3.1
Published
Dropdown with customizable grid
Downloads
65
Maintainers
Readme
React-Grid-Dropdown
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
Developed by bl00mber for cellular automata generator