@impact-x/react-select
Select component for products using Impact X design system.
Installation
To install @impact-x/react-select in your project, run the following command:
npm install -S @impact-x/react-select
If you prefer Yarn, use the following command instead:
yarn add @impact-x/react-select
Usage
You can import and use this module:
import Select from '@impact-x/react-select';
<Select />;
import Select from '@impact-x/react-select';
<label htmlFor="select-1">All select fields must have a label</label>
<Select control-id="select-1">
<option value="value 1">Option 1</option>
<option value="value 2" selected>Option 2</option>
<option value="value 3">Option 3</option>
</Select>;
API documentation
https://tw-impact-x.thoughtworks-labs.net/#/Components/Forms/Select