@hzhu/react-listbox
v0.3.2
Published
Build and compose WAI-ARIA compliant listbox based React components.
Downloads
7
Maintainers
Readme
Usage
<Listbox>
<ListboxOption value="ford">Ford</ListboxOption>
<ListboxOption value="honda">Honda</ListboxOption>
<ListboxOption value="tesla">Tesla</ListboxOption>
<ListboxOption value="toyota">Toyota</ListboxOption>
</Listbox>
Local Development
The project uses Storybook to interactively develop components with hot reloading. The react-listbox
Storybook is published here.
Clone this repository
git clone [email protected]:hzhu/react-listbox.git
Install dependencies
yarn
Run Storybook
yarn start
Navigate to http://localhost:3000.
Testing
This project uses Jest and react-testing-library 🐐 for testing.
To run the tests
yarn test
or to continuously watch
yarn test --watch