Extracting css from JSX component to send HTML email #2594
Replies: 2 comments 5 replies
-
Well, it sounds almost like an SSR situation - I mean, they are pretty similar. You could try using our If you (or your company) would be up for it - I could consult on this. |
Beta Was this translation helpful? Give feedback.
-
Thx for that @Andarist! I tried it out but unfortunately I get no css. Here is my test: I compute this:
I get this:
Any idea how to get the css associated with the class? |
Beta Was this translation helpful? Give feedback.
-
Hi! I am building a newsletter editor based on Slate/Plate and I am using ChakraUI. I am looking for a way how to extract CSS from a JSX component in order to inject it as HTML string before email sending. Any idea? Thx!
Beta Was this translation helpful? Give feedback.
All reactions