Closed Mbensler closed 1 year ago
I don't fully understand your question without a minimal reproduction, but please try passing a unique value
prop to each Command.Item
to ensure everything works as expected. Then report back :)
I was missing the value prop. It works now. Thank you very much.
I am trying to make my SubItem render something like this:
But it won´t work like this.
It will only work when it looks like this:
Then it shows up correctly. If I were to do
{icon} {label}
it doesn't work either.It seems like it only accepts one thing, and I am trying to get it to look like a normal
Command.Item
with an icon on the left and text next to it without a shortcut.