cmdk icon indicating copy to clipboard operation
cmdk copied to clipboard

Allow override props

Open joaom00 opened this issue 1 year ago • 2 comments

Allow consumers to override component's props. Some examples where it can be useful:

  • Provide a custom aria-label to Command.Loading
  • Although this is not the main use case of this lib, makes possible to override aria-expanded on Command.Input to build an accessible combobox where the list opens when the focus is on the input or after typing.

joaom00 avatar Apr 13 '23 03:04 joaom00

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

vercel[bot] avatar Apr 13 '23 03:04 vercel[bot]

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.

tonyfarney avatar Aug 28 '24 23:08 tonyfarney