How do you use react-email in production? #1660
Closed
SilkageNet
started this conversation in
General
Replies: 1 comment
-
You pass this data in thorugh props, just like you do normally with React components. In pseudo code sendEmail(render(<VerificationEmail code="999-999"/>) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
For example, when a user gets a verification code on a web page, how can the server-side use the email to fill in the set verification code in the template designed by react-email and send it to the user's email?
Beta Was this translation helpful? Give feedback.
All reactions