Select inputs let users choose one option from an options menu.
To install @igloo-ui/select
in your project, you will need to run the following command using npm:
npm install @igloo-ui/select
If you prefer Yarn, use the following command instead:
yarn add @igloo-ui/select
Then to use the component in your code just import it!
import Select from '@igloo-ui/select';
<Select
options={[
{ label: 'Option 1', value: '1' },
{ label: 'Option 2', value: '2' },
]}
>
Place holder
</Select>;