Created
October 7, 2020 19:38
-
-
Save shlomitc/4b99cab22d79e8a5d4d9a76a91ba074f to your computer and use it in GitHub Desktop.
create css classes during runtime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style | |
dangerouslySetInnerHTML={{ | |
__html: ` | |
.my-class { | |
color: red; | |
} | |
}} | |
></style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment