forked from ianbjorndilling/react-typewriter
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
19 lines (19 loc) · 668 Bytes
/
index.html
File metadata and controls
19 lines (19 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>TypeWriter Demo</title>
</head>
<body>
<h1>TypeWriter</h1>
<div id="type-writer-container"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react-with-addons.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react-dom.js"></script>
<script src="./react-typewriter.js"></script>
<script type="text/javascript">
ReactDOM.render(
React.createElement(TypeWriter, {typing: 1, style: {fontSize: 40}}, "Hello World!"),
document.getElementById('type-writer-container'));
</script>
</body>
</html>