-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,10 @@ This package is ideal for developers who want to generate email links with rich | |
|
||
## Installation | ||
|
||
```shell | ||
npm install react-mailto | ||
``` | ||
|
||
<!-- TODO: Uncomment once JSR works for JSX --> | ||
<!-- Install the package via deno, npm, yarn, pnpm or bun: --> | ||
|
||
|
@@ -42,7 +46,7 @@ To create a mailto link with a subject and body content, use the `MailTo` compon | |
|
||
```tsx | ||
import React from 'react'; | ||
import { MailTo, MailToBody, MailToTrigger } from 'package-name'; | ||
import { MailTo, MailToBody, MailToTrigger } from '@slalombuild/react-mailto'; | ||
|
||
const App = () => ( | ||
<MailTo to="[email protected]" subject="Hello World"> | ||
|
@@ -68,7 +72,7 @@ For more complex scenarios, such as including CC and BCC recipients, or enabling | |
|
||
```tsx | ||
import React from 'react'; | ||
import { MailTo, MailToBody, MailToTrigger } from 'package-name'; | ||
import { MailTo, MailToBody, MailToTrigger } from '@slalombuild/react-mailto'; | ||
|
||
const App = () => ( | ||
<MailTo | ||
|