cmdk
cmdk copied to clipboard
Allow override props
Allow consumers to override component's props. Some examples where it can be useful:
- Provide a custom
aria-label
toCommand.Loading
- Although this is not the main use case of this lib, makes possible to override
aria-expanded
onCommand.Input
to build an accessible combobox where the list opens when the focus is on the input or after typing.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
cmdk-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 8, 2023 11:31am |
This modification would allow us to workaround accessibility issues the library has. For example: https://github.com/pacocoursey/cmdk/issues/179
Please merge the PR.