File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ export default React.createClass({
28
28
29
29
return (
30
30
< section >
31
- < h2 > Autocomplete</ h2 >
32
- < p style = { { marginBottom : '5px' } } > You can have a multiple or simple autocomplete.</ p >
31
+ < h5 > Autocomplete</ h5 >
32
+ < p > You can have a multiple or simple autocomplete.</ p >
33
33
34
34
< Autocomplete
35
35
ref = "autocomplete_multiple"
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export default React.createClass({
44
44
render ( ) {
45
45
return (
46
46
< section >
47
- < h2 > Dropdown</ h2 >
47
+ < h5 > Dropdown</ h5 >
48
48
< p > lorem ipsum...</ p >
49
49
< Dropdown dataSource = { this . state . countries } label = "Countries" onChange = { this . onChange } />
50
50
< Dropdown dataSource = { this . state . countries } disabled = { true } onChange = { this . onChange } />
Original file line number Diff line number Diff line change 16
16
< link href ="../build/react-toolbox.commons.css " rel ='stylesheet ' type ='text/css '>
17
17
< link href ="../build/react-toolbox.test.css " rel ='stylesheet ' type ='text/css '>
18
18
< style >
19
- app > h4 , app > section { margin : 2rem ; }
19
+ app { padding : 1.6rem ; }
20
+ app > h1 , app > h3 { line-height : 100% ; }
21
+ app h5 { margin-top : 3.2rem ; }
22
+ app p { margin-bottom : 1.6rem ; opacity : 0.5 ;}
20
23
app [data-react-toolbox = 'card' ] {
21
24
margin : 1.6rem 1.6rem 0 0 ;
22
25
display : inline-block;
Original file line number Diff line number Diff line change 1
1
/* global React */
2
2
3
- // import Autocomplete from './components/autocomplete';
3
+ import Autocomplete from './components/autocomplete' ;
4
4
import Button from './components/button' ;
5
5
import Card from './components/card' ;
6
6
import Checkbox from './components/checkbox' ;
7
7
import Dialog from './components/dialog' ;
8
8
import Drawer from './components/drawer' ;
9
9
import RadioGroup from './components/radio_group' ;
10
10
import Switch from './components/switch' ;
11
- // import Dropdown from './components/dropdown';
11
+ import Dropdown from './components/dropdown' ;
12
12
// import FontIcon from './components/font_icon';
13
13
// import Form from './components/form';
14
14
// import Progress from './components/progress';
@@ -22,17 +22,21 @@ const Test = React.createClass({
22
22
render ( ) {
23
23
return (
24
24
< app data-react-toolbox-app >
25
- < h4 > React Toolbox component spec</ h4 >
25
+ < h1 > React Toolbox </ h1 >
26
+ < h3 > Component Spec</ h3 >
27
+ < Autocomplete />
26
28
< Button />
27
29
< Card />
28
30
< Checkbox />
29
31
< Dialog />
30
32
< Drawer />
31
33
< RadioGroup />
32
34
< Switch />
35
+ < Dropdown />
33
36
</ app >
34
37
) ;
35
38
}
36
39
} ) ;
37
40
41
+
38
42
React . render ( < Test /> , document . body ) ;
You can’t perform that action at this time.
0 commit comments