Normalize spec

old
@soyjavi 2015-10-06 12:43:11 +07:00
parent 10c34a7072
commit b038f704a8
3 changed files with 6 additions and 8 deletions

View File

@ -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' />

View File

@ -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>
@ -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>
);

View File

@ -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';
@ -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>
);