-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (35 loc) · 1.19 KB
/
Copy pathindex.html
File metadata and controls
35 lines (35 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>UMD Example</title>
<!-- node_modules is only used for testing. In prod, use unpkg.com (see readme) -->
<link rel="stylesheet" href="./node_modules/react-css-spinners/dist/style.min.css">
<style>
#root {
background-color: #20232a;
padding: 1rem;
}
</style>
</head>
<body>
<div id='root'></div>
<script crossorigin src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script>
<!-- node_modules is only used for testing. In prod, use unpkg.com (see readme) -->
<script src="./node_modules/react-css-spinners/dist/bundle.min.js"></script>
<script>
const { Ellipsis, Ring, Ripple } = ReactCssSpinners
const App = React.createElement(
React.Fragment,
null,
React.createElement(Ellipsis),
React.createElement(Ring),
React.createElement(Ripple)
)
ReactDOM.render(App, document.getElementById('root'))
</script>
</body>
</html>