@impact-x/react-select
TypeScript icon, indicating that this package has built-in type declarations

1.1.22 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @impact-x/react-select

Weekly Downloads

264

Version

1.1.22

License

MIT

Unpacked Size

1.18 MB

Total Files

112

Last publish

Collaborators

  • hannahbourke
  • tw-design-system