@hzhu/react-listbox
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

react-listbox ⚛️📝📦

Composable WAI-ARIA compliant listbox React components.

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

Package Sidebar

Install

npm i @hzhu/react-listbox

Weekly Downloads

0

Version

0.3.2

License

MIT

Unpacked Size

101 kB

Total Files

29

Last publish

Collaborators

  • henryzhu