Replies: 1 comment
-
Always the case find the answer right after post the question :-( This seems to be the answer to my question: Thanks again for this project! |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
First let me say I'm very excited about Panda CSS -- big time tw fan here, but Panda looks amazing and I'm eager to use in my latest project. Thank you for this!
Help please: If I pass styles as props (one of the main appeals of using panda over tw, since can have strong typing), they're not applied unless the same styles are applied elsewhere in html attribute using the standard approach (i.e.,
className={css({...})
}. I get that this is because panda is trying to optimize by not generating css for all possible styles (a good thing!), so how can I declare usage for known styles in use so passing via props works?Thanks,
-Roland.
Beta Was this translation helpful? Give feedback.
All reactions