Mapping for boolean component properties #131
-
Beta Was this translation helpful? Give feedback.
Answered by
jpudysz
Jan 19, 2024
Replies: 2 comments 2 replies
-
You're the second person who asks about the Boolean variants 🤗. Right now the easiest way is to cast your Boolean to string before passing to useStyles. I could theoretically support passing booleans but it would work exactly the same (casting to string). If this doesn't satisfy you let me know. I can think of other approaches 🙏 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
sergeylaptev
-
PR: #134 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're the second person who asks about the Boolean variants 🤗.
Right now the easiest way is to cast your Boolean to string before passing to useStyles.
I could theoretically support passing booleans but it would work exactly the same (casting to string).
If this doesn't satisfy you let me know. I can think of other approaches 🙏