A simple reusable dropdown component
- Babel/ES6
- React
- node
- npm/yarn
- Use this component by passing in props.
<Dropdown
primary="This is your Title"
listitem={this.state. <Your Object>}
/>
- The 'listitem' prop takes in an object array, and will display an 'li' per element in the array using the map function.
favoritelinks: [
{
id: 'petfinder.com',
},
{
id: 'medium.com',
},
{
id: 'github.com',
},
]