0.3.2 • Published 5 years ago
@hzhu/react-listbox v0.3.2
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 git@github.com:hzhu/react-listbox.gitInstall dependencies
yarnRun Storybook
yarn startNavigate to http://localhost:3000.
Testing
This project uses Jest and react-testing-library 🐐 for testing.
To run the tests
yarn testor to continuously watch
yarn test --watch