Skip to content

How to pass parameters to makeStyles ? #467

Answered by spmonahan
rgcircum asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Runtime styles are not supported in makeStyles as Griffel performs ahead-of-time compilation on styles so they must be static. The docs provide more details as well as some workarounds.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rgcircum
Comment options

You must be logged in to vote
1 reply
@tombohub
Comment options

Comment options

You must be logged in to vote
1 reply
@rgcircum
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants