Skip to content

Commit d7fd49e

Browse files
committed
Update README with example data prop.
1 parent c4bdcae commit d7fd49e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ $ yarn add react-retool
1818
import Retool from 'react-retool';
1919
2020
function App() {
21+
const sample = { name: 'Sample data' }
2122
return (
22-
<Retool url="https://retoolin.tryretool.com/embedded/public/f7607e1f-670a-4ebf-9a09-be54cf17181e"/>
23+
<Retool
24+
url="https://retoolin.tryretool.com/embedded/public/f7607e1f-670a-4ebf-9a09-be54cf17181e"
25+
data={sample}
26+
/>
2327
);
2428
}
2529

0 commit comments

Comments
 (0)