Replies: 1 comment 1 reply
-
This is how you use dynamic styles https://facebook.github.io/react-strict-dom/learn/styles/#dynamic-styles |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know StyleX has type references to InlineStyles, and the example for RSD has one line containing an inline style.
However, it looks like the html.* elements are typed to only accept styles that have gone through the compile time preprocess step, and trying to use an inline style leads to type errors locally.
Beta Was this translation helpful? Give feedback.
All reactions