You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to conditionally render a different JSX based on whether the CommandItem is highlighted (not clicked). i.e mouse over or selected via using the arrow keys where we see the bg change
I don't see this being possible at the moment
Only thing I was able to find was doing something like this
I want to conditionally render a different JSX based on whether the CommandItem is highlighted (not clicked). i.e mouse over or selected via using the arrow keys where we see the bg change
I don't see this being possible at the moment
Only thing I was able to find was doing something like this
[cmdk-item][data-selected] {
outline: 1px solid black;
}
but this only applies CSS. I want to conditionally apply different JSX and do more than just styling
The text was updated successfully, but these errors were encountered: