Skip to content

Commit 173f787

Browse files
committed
doc: Update README.md
1 parent d94c975 commit 173f787

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ import RunWeb from '@uiw/react-run-web';
2121
/>
2222
```
2323

24+
## Props
25+
26+
```ts
27+
interface RunWebProps extends React.IframeHTMLAttributes<HTMLIFrameElement> {
28+
css?: string;
29+
js?: string;
30+
html?: string;
31+
title?: string;
32+
}
33+
```
34+
2435
## Online Code Preview
2536

2637
[Preview Demo Example](https://uiwjs.github.io/react-run-web#/?html=<div>Hello%20World</div>&js=console.log('hello%20world')&css=div%20{%20color:%20red;}).

0 commit comments

Comments
 (0)