Skip to content

Commit

Permalink
Normalize spec
Browse files Browse the repository at this point in the history
  • Loading branch information
soyjavi committed Oct 6, 2015
1 parent 10c34a7 commit b038f70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion spec/components/card.jsx
Expand Up @@ -23,7 +23,6 @@ export default React.createClass({
return (
<section>
<h2>Cards</h2>
<h3>Basic properties</h3>
<Card title='Default Card' />
<Card title='Default Card loading' loading />
<Card type='wide' title='Wide card' />
Expand Down
4 changes: 2 additions & 2 deletions spec/components/drawer.jsx
Expand Up @@ -14,7 +14,7 @@ export default React.createClass({
return (
<section>
<h2>Drawer</h2>
<p style={{marginBottom: '10px'}}>You can navigate using a drawer to the left or right. They can be auto-closable or not.</p>
<p>You can navigate using a drawer to the left or right. They can be auto-closable or not.</p>

<Drawer ref='left' hideable={true}>
<h2>Officia deserunt mollit.</h2>
Expand All @@ -28,7 +28,7 @@ export default React.createClass({

<nav>
<Button className='accent' label='Drawer left hideable' type='raised' onClick={this.onClick.bind(null, 'left', 'show')} />
<Button className='primary' style={{marginLeft: '20px'}} label='Drawer right' type='raised' onClick={this.onClick.bind(null, 'right', 'show')} />
<Button className='primary' label='Drawer right' type='raised' onClick={this.onClick.bind(null, 'right', 'show')} />
</nav>
</section>
);
Expand Down
9 changes: 4 additions & 5 deletions spec/index.jsx
Expand Up @@ -4,10 +4,8 @@
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 Card from './components/card';
// import Dialog from './components/dialog';
// import Dropdown from './components/dropdown';
// import FontIcon from './components/font_icon';
// import Form from './components/form';
Expand All @@ -22,11 +20,12 @@ const Test = React.createClass({

render () {
return (
<app data-toolbox-app={true}>
<app data-react-toolbox-app>
<h1>React Toolbox</h1>
<Checkbox />
<Button />
<Card />
<Checkbox />
<Dialog />
<Drawer />
</app>
);
Expand Down

0 comments on commit b038f70

Please sign in to comment.