forked from muicss/mui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
39 lines (36 loc) · 1.09 KB
/
forms.html
File metadata and controls
39 lines (36 loc) · 1.09 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
36
37
38
39
<!doctype html>
<html>
<head>
<!-- for example only -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.2/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.2/JSXTransformer.js"></script>
<!-- end -->
<link rel="stylesheet" type="text/css" href="../assets/mui/css/mui.css"/>
<script src="../assets/mui/react/mui-react.js"></script>
</head>
<body>
<div class="mui-container">
<h2>Forms</h2>
<div class="mui-panel">
<h3>MUIFormControl</h3>
<div id="form-control-example"></div>
<h3>MUIFormGroup</h3>
<div id="form-group-example"></div>
</div>
</div>
<script type="text/jsx">
React.render(
<MUIFormControl type="password" autofocus={true}/>,
document.getElementById('form-control-example')
);
React.render(
<MUIFormGroup
type="text"
label="Email address"
isLabelFloating={true}
/>,
document.getElementById('form-group-example')
);
</script>
</body>
</html>