Replies: 2 comments 1 reply
-
Hi @Robstei ,
Now you can use CustomDivider as follows:
Hope this is cover your scenarios. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks a lot @pradeept95 :) I created a solution with your input that is sufficient for now. Would be neat to do this without using "as" in the future. |
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
-
Hey,
My goal is to style the Divider component to a color value that i fetch at runtime.
The docs show a way to change the color of the before and after pseudo-elements in makeStyles.
In another issue here, I found the suggestion to use inline styles in addition to style a component based on prop values. I am not aware of a way to use inline styles to style the before and after elements.
What is the recommended way to style the component based on a hex value received as props / via fetch?
Beta Was this translation helpful? Give feedback.
All reactions