Dropdown Selector
Dropdown button that behaves like a <select> element.
import DropdownSelectorBtn from 'patchkit-dropdown-selector' const onSelect = console const ITEMS = label: 'one' value: 1 label: 'two' value: 2 label: 'three' value: 3 <DropdownSelectorBtn ="btn highlighted" = ="Current" = = />
Styles
Use the .less file from patchkit-dropdown
:
"node_modules/patchkit-dropdown/styles.less"