Skip to content

Commit

Permalink
Keep umd examples on older React
Browse files Browse the repository at this point in the history
  • Loading branch information
tanem committed Apr 9, 2022
1 parent 4556e1b commit 0008c92
Show file tree
Hide file tree
Showing 4 changed files with 16,958 additions and 26 deletions.
7 changes: 4 additions & 3 deletions examples/umd-dev/index.html
Expand Up @@ -12,9 +12,10 @@
<body>
<div id="app"></div>
<script type="text/babel">
const container = document.getElementById('root')
const root = ReactDOM.createRoot(container)
root.render(<ReactSVG src="svg.svg" />)
ReactDOM.render(
<ReactSVG.ReactSVG src="svg.svg" />,
document.getElementById('app')
)
</script>
</body>
</html>

0 comments on commit 0008c92

Please sign in to comment.