Skip to content

Commit

Permalink
Minimal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
soyjavi committed Jul 23, 2015
1 parent 91ee458 commit 1cc22ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion components/button/index.cjsx
Expand Up @@ -37,7 +37,6 @@ module.exports = React.createClass

# -- Render
render: ->

<button data-component-button={@props.type}
onClick={@onClick}
className={@props.className}
Expand Down
8 changes: 5 additions & 3 deletions spec/components/button.cjsx
Expand Up @@ -16,14 +16,16 @@ module.exports = React.createClass

<h2>Buttons</h2>
<p>lorem ipsum...</p>
<Button caption="Login" disabled=false />
<Button caption="Login"/>
<Button caption="Primary" className="primary" icon="access_alarm" />
<Button caption="Secondary" className="accent" />
<Button caption="Disabled" disabled={true} />
<Button caption="Disabled" disabled />
<Button caption="loading" loading />

<Button type="circle" icon="access_alarm" />
<Button type="circle" icon="explore" className="primary" />
<Button type="circle" icon="zoom_in" className="accent" />
<Button type="circle" icon="input" disabled={true} />
<Button type="circle" icon="input" disabled />
<Button type="circle" icon="zoom_in" loading />

</section>
4 changes: 2 additions & 2 deletions spec/index.cjsx
Expand Up @@ -20,17 +20,17 @@ Test = React.createClass
<app data-toolbox={true}>
<h1>React-Toolbox <small>New way for create</small></h1>

<Card />
<Switch />
<Aside />
<Autocomplete />
<Button />
<Card />
<Dialog />
<Dropdown />
<FontIcon />
<Form />
<Progress />
<Slider />
<Switch />
</app>

React.render <Test/>, document.body

0 comments on commit 1cc22ce

Please sign in to comment.