Skip to content

Commit

Permalink
Update text
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 28, 2024
1 parent de0c3b5 commit 77b3928
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/react-email/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ export function WelcomeEmail({ locale, name }) {
}
```

### Translation files (en.json)

```json
{
"preview": "Welcome to our app!",
"welcome": "Hello, %{name}!"
}
```

### Rendering the email
```tsx
import { render } from '@react-email/render';
Expand Down

0 comments on commit 77b3928

Please sign in to comment.