You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ Your `.babelrc` should look like this:
28
28
29
29
## Usage
30
30
31
-
To convert your React-powered email into a plain HTML email, use ReactDOM's `renderToString()` function, which converts a React component into a string of HTML.
31
+
To convert your React-powered email into a plain HTML email, use ReactDOM's `renderToStaticMarkup()` function, which converts a React component into a string of HTML.
32
32
33
33
In the below example, our email template component includes a prop, making its contents dynamic.
0 commit comments