Skip to content

Commit

Permalink
Changes on spec
Browse files Browse the repository at this point in the history
  • Loading branch information
soyjavi committed Oct 8, 2015
1 parent 92fd577 commit 96c4c5f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions spec/components/autocomplete.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default React.createClass({

return (
<section>
<h2>Autocomplete</h2>
<p style={{marginBottom: '5px'}}>You can have a multiple or simple autocomplete.</p>
<h5>Autocomplete</h5>
<p>You can have a multiple or simple autocomplete.</p>

<Autocomplete
ref="autocomplete_multiple"
Expand Down
2 changes: 1 addition & 1 deletion spec/components/dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default React.createClass({
render () {
return (
<section>
<h2>Dropdown</h2>
<h5>Dropdown</h5>
<p>lorem ipsum...</p>
<Dropdown dataSource={this.state.countries} label="Countries" onChange={this.onChange}/>
<Dropdown dataSource={this.state.countries} disabled={true} onChange={this.onChange}/>
Expand Down
5 changes: 4 additions & 1 deletion spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
<link href="../build/react-toolbox.commons.css" rel='stylesheet' type='text/css'>
<link href="../build/react-toolbox.test.css" rel='stylesheet' type='text/css'>
<style>
app > h4, app > section { margin: 2rem; }
app { padding: 1.6rem; }
app > h1, app > h3 { line-height: 100%; }
app h5 { margin-top: 3.2rem; }
app p { margin-bottom: 1.6rem; opacity: 0.5;}
app [data-react-toolbox='card'] {
margin: 1.6rem 1.6rem 0 0;
display: inline-block;
Expand Down
10 changes: 7 additions & 3 deletions spec/index.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/* global React */

// import Autocomplete from './components/autocomplete';
import Autocomplete from './components/autocomplete';
import Button from './components/button';
import Card from './components/card';
import Checkbox from './components/checkbox';
import Dialog from './components/dialog';
import Drawer from './components/drawer';
import RadioGroup from './components/radio_group';
import Switch from './components/switch';
// import Dropdown from './components/dropdown';
import Dropdown from './components/dropdown';
// import FontIcon from './components/font_icon';
// import Form from './components/form';
// import Progress from './components/progress';
Expand All @@ -22,17 +22,21 @@ const Test = React.createClass({
render () {
return (
<app data-react-toolbox-app>
<h4>React Toolbox component spec</h4>
<h1>React Toolbox </h1>
<h3>Component Spec</h3>
<Autocomplete />
<Button />
<Card />
<Checkbox />
<Dialog />
<Drawer />
<RadioGroup />
<Switch />
<Dropdown />
</app>
);
}
});


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

0 comments on commit 96c4c5f

Please sign in to comment.