Skip to content

Commit 4135188

Browse files
committed
docs: 📝 update props for component
1 parent fed41c1 commit 4135188

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/routes/index.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,20 @@ Output:
104104

105105
## GenericEmbed
106106

107-
Props:
108-
109107
This component passes all provided props to the iframe This component
110108
also provides a slot, to bring your own markup besides the iframe
111109

110+
Props:
111+
112+
```ts
113+
src: string = ''
114+
title: string = ''
115+
height: string = '300'
116+
width: string = '100%'
117+
```
118+
119+
Usage:
120+
112121
```ts
113122
width: string = '100%'
114123
height: string = '180px'
@@ -119,8 +128,6 @@ frameBorder: string = '0'
119128
allow: string = 'encrypted-media'
120129
```
121130

122-
Usage:
123-
124131
<!-- prettier-ignore -->
125132
```html
126133
<GenericEmbed

0 commit comments

Comments
 (0)