Skip to content

Commit 79e5811

Browse files
committed
docs: 📝 add example to main page
1 parent a1a3e0f commit 79e5811

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

src/routes/+page.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
SoundCloud,
1010
Spotify,
1111
StackBlitz,
12+
Toot,
1213
Tweet,
1314
Vimeo,
1415
YouTube,
@@ -287,6 +288,34 @@ Output:
287288

288289
<StackBlitz id="vitejs-vite-yyoood" hideNavigation />
289290

291+
## Toot
292+
293+
Props:
294+
295+
```ts
296+
instance: string = ''
297+
username: string = ''
298+
tootId: string = ''
299+
```
300+
301+
Usage:
302+
303+
```html
304+
<Toot
305+
instance="mas.to"
306+
username="@spences10"
307+
tootId="109252587760962553"
308+
/>
309+
```
310+
311+
Output:
312+
313+
<Toot
314+
instance="mas.to"
315+
username="@spences10"
316+
tootId="109252587760962553"
317+
/>
318+
290319
## Tweet
291320

292321
Props:

0 commit comments

Comments
 (0)