-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add key style
to ObjectOption
for per-option inline CSS
#252
Conversation
Good question, no it doesn't. I should have mentioned this above. The style?: string | { option: string; selected: string } // single CSS string or an object with keys .... |
Love it! |
…ferent option and key combinations'
Thanks for the feedback! That's great to hear! 😄 |
Closes #251.
Adds key
style
to typeObjectOption
:Example code
You can try it out on https://multiselect.janosh.dev/ui.
@paul-brenner Would this address your use case? Feel free to suggest changes.