pacocoursey / cmdk

Fast, unstyled command menu React component.
https://cmdk.paco.me
MIT License
9.04k stars 259 forks source link

feat: allow overwriting props #201

Open gylxan opened 5 months ago

gylxan commented 5 months ago

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

Examples:

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?

MatchuPitchu commented 5 months ago

Would be very useful.

albertAS61 commented 4 months ago

Glad to see @gylxan that someone also pick up the topic with overwriting props. For me the most important part is with type of command input. Topic also arise in #175 and for me the crucial part with changing type is that on mobile I can force browser to use specific type of keyboard :)