#
Selectbox
We've simplified our dropdown buttons by getting rid of the dedicated dropdown associated with them, this looks cleaner and also available in all different colors. Pages dropdowns are powered by react-dropdown. Please refer there documentation for further details and instructions here https://github.com/fraserxu/react-dropdown
#
Importing
import Dropdown from "react-dropdown";
#
How to use
const dropDownOptions = ["Web-Safe", "Helvetica", "SegeoUI"];
const defaultOption = dropDownOptions[0];
<div>
<Dropdown
options={dropDownOptions}
value={defaultOption}
className="dropdown dropdown-default"
/>
</div>;