1.0.2 • Published 1 year ago
dropdown-menu-by-blizot v1.0.2
Dropdown Menu React Component
This component renders a dropdown menu.
Setup
import DropdownMenu from 'dropdown-menu-by-blizot'
In order to use the component, you must feed it three props:
name
: its namelabel
: the label textoptions
: an array of objects with two fields:text
: the option's textvalue
: the option's value