mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
14 lines
460 B
HTML
14 lines
460 B
HTML
<head>
|
|
<script src="./react/react@17.0.2.production.min.js"></script>
|
|
<script src="./react/react-dom@17.0.2.production.min.js"></script>
|
|
<script src="./react/material-ui@5.2.2.production.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class='react-root'></div>
|
|
<script>
|
|
window.e = React.createElement;
|
|
window.reactRoot = document.querySelector('.react-root');
|
|
window.renderComponent = c => ReactDOM.render(c, window.reactRoot);
|
|
</script>
|
|
</body>
|