Replies: 2 comments
-
How are you apply the css? AFAIK the compile result is right |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just write the following code: import stylex from "@stylex/...";
const styles = stylex.create({
marginInlineEnd: (size: number) => ({
marginInlineEnd: size,
}),
}); This will compile to the code equivalent to what you have above and it will work as expected. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, this is compile stylex code:
How can I decompile it, this is my code ut I don't know it right or wrong:
Beta Was this translation helpful? Give feedback.
All reactions