Skip to content

Commit 96c4c5f

Browse files
committed
Changes on spec
1 parent 92fd577 commit 96c4c5f

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

spec/components/autocomplete.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export default React.createClass({
2828

2929
return (
3030
<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>
3333

3434
<Autocomplete
3535
ref="autocomplete_multiple"

spec/components/dropdown.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default React.createClass({
4444
render () {
4545
return (
4646
<section>
47-
<h2>Dropdown</h2>
47+
<h5>Dropdown</h5>
4848
<p>lorem ipsum...</p>
4949
<Dropdown dataSource={this.state.countries} label="Countries" onChange={this.onChange}/>
5050
<Dropdown dataSource={this.state.countries} disabled={true} onChange={this.onChange}/>

spec/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
<link href="../build/react-toolbox.commons.css" rel='stylesheet' type='text/css'>
1717
<link href="../build/react-toolbox.test.css" rel='stylesheet' type='text/css'>
1818
<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;}
2023
app [data-react-toolbox='card'] {
2124
margin: 1.6rem 1.6rem 0 0;
2225
display: inline-block;

spec/index.jsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/* global React */
22

3-
// import Autocomplete from './components/autocomplete';
3+
import Autocomplete from './components/autocomplete';
44
import Button from './components/button';
55
import Card from './components/card';
66
import Checkbox from './components/checkbox';
77
import Dialog from './components/dialog';
88
import Drawer from './components/drawer';
99
import RadioGroup from './components/radio_group';
1010
import Switch from './components/switch';
11-
// import Dropdown from './components/dropdown';
11+
import Dropdown from './components/dropdown';
1212
// import FontIcon from './components/font_icon';
1313
// import Form from './components/form';
1414
// import Progress from './components/progress';
@@ -22,17 +22,21 @@ const Test = React.createClass({
2222
render () {
2323
return (
2424
<app data-react-toolbox-app>
25-
<h4>React Toolbox component spec</h4>
25+
<h1>React Toolbox </h1>
26+
<h3>Component Spec</h3>
27+
<Autocomplete />
2628
<Button />
2729
<Card />
2830
<Checkbox />
2931
<Dialog />
3032
<Drawer />
3133
<RadioGroup />
3234
<Switch />
35+
<Dropdown />
3336
</app>
3437
);
3538
}
3639
});
3740

41+
3842
React.render(<Test/>, document.body);

0 commit comments

Comments
 (0)