Minimal changes

old
Javi Jimenez Villar 2015-07-23 09:38:47 +07:00
parent 91ee458e1f
commit 1cc22ce4f0
3 changed files with 7 additions and 6 deletions

View File

@ -37,7 +37,6 @@ module.exports = React.createClass
# -- Render
render: ->
<button data-component-button={@props.type}
onClick={@onClick}
className={@props.className}

View File

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

View File

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