Skip to content

feat: allow overwriting props #201

Description

@gylxan

There are many cases where it makes sense to override the props of the components.

Examples:

  • aria-label of e.g. CommandLoading and CommandList to support multi language
  • aria-expanded of CommandInput, which is always true currently, but should only be true, when the input has focus or after typing, when the list is shown
  • type of CommandInput to let users only insert numbers for instance

There is already a PR for it #117, but I created a new one #202

Here is a code sandbox, where we can see the problem

Maybe we can realize it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions