0.3.2 • Published 5 years ago

@hzhu/react-listbox v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Build Status codecov

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.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