zooid-list
v2.1.0
Published
List
Downloads
8
Readme
zooid-list
React Button Component
Install
npm install --save zooid-list
Props
| Prop | Type | Default | Description | | ----------| -------| --------| -------------------------------------| | className | string | | Additional css classes for your button| | children | node | | Children to be rendered |
Example
import List, { ListItem } from 'zooid-list'
export default class App extends Component {
render() {
return <div>
<h1>App</h1>
<List>
<ListItem>Item #1</ListItem>
<ListItem>Item #2</ListItem>
<ListItem>Item #3</ListItem>
</List>
</div>
}
}
Roadmap
- [ ] ListItem: Add onClick support
- [ ] ListItem: Add style options for: bordered, stripped, no-style
- [ ] ListItem: Add primary and secondary sections