Skip to content
Discussion options

You must be logged in to vote

Hey, for now you can use

type StyleProps={ size:number; } const useStyles = makeStyles((theme, props:StyleProps) => ({ image: { width: props.size }, }));

I am working on theming, hope it would get better in v4

Replies: 1 comment 1 reply

Comment options

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

Answer selected by myhendry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants