Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghandic committed Aug 22, 2024
1 parent a1a8dec commit a7514b6
Showing 1 changed file with 28 additions and 8 deletions.
36 changes: 28 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,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 '@slalombuild/react-mailto';
import { MailTo, MailToBody, MailToTrigger, MailToIndent, MailToBreak } from '@slalombuild/react-mailto';

const App = () => (
<MailTo
Expand All @@ -84,13 +84,33 @@ const App = () => (
>
<MailToTrigger>Invite to Meeting</MailToTrigger>
<MailToBody>
Dear Team,
<br />
Please join us for a meeting next week.
<br />
Regards,
<br />
Your Name
Hello
<br />
World
<MailToIndent spacing={8}>Tabbed Content</MailToIndent>
<MailToBreak spacing={2} />
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>
<ul>
<li>Subitem 1</li>
<li>Subitem 2</li>
<li>
<ul>
<li>Sub subitem 1</li>
<li>Sub subitem 2</li>
<li>
<ul>
<li>Sub sub subitem 1</li>
<li>Sub sub subitem 2</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</MailToBody>
</MailTo>
);
Expand Down

0 comments on commit a7514b6

Please sign in to comment.