Skip to content

Commit 2114955

Browse files
committed
Minimal changes
1 parent e174374 commit 2114955

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

components/aside/index.cjsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ module.exports = React.createClass
1010
type : React.PropTypes.string.required
1111

1212
getDefaultProps: ->
13-
active : false
1413
className : ""
15-
hideable : false
1614
type : "left"
1715

1816
getInitialState: ->

components/button/button.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
var Button = require('react-toolbox/components/button');
55
66
<Button caption="Login" />
7-
<Button caption="Primary" style="primary" icon="access_alarm" />
8-
<Button caption="Secondary" style="secondary" />
7+
<Button caption="Primary" className="primary" icon="access_alarm" />
8+
<Button caption="Secondary" className="secondary" />
99
<Button caption="Disabled" disabled />
1010
1111
<Button type="circle" icon="access_alarm" />
12-
<Button type="circle" icon="explore" style="primary" />
13-
<Button type="circle" icon="zoom_in" style="secondary" />
12+
<Button type="circle" icon="explore" className="primary" />
13+
<Button type="circle" icon="zoom_in" className="secondary" />
1414
<Button type="circle" icon="input" disabled={true} />
1515
```
1616

spec/components/button.cjsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ module.exports = React.createClass
1717
<h2>Buttons</h2>
1818
<p>lorem ipsum...</p>
1919
<Button caption="Login" disabled=false />
20-
<Button caption="Primary" style="primary" icon="access_alarm" />
21-
<Button caption="Secondary" style="secondary" />
20+
<Button caption="Primary" className="primary" icon="access_alarm" />
21+
<Button caption="Secondary" className="secondary" />
2222
<Button caption="Disabled" disabled={true} />
2323

2424
<Button type="circle" icon="access_alarm" />
25-
<Button type="circle" icon="explore" style="primary" />
26-
<Button type="circle" icon="zoom_in" style="secondary" />
25+
<Button type="circle" icon="explore" className="primary" />
26+
<Button type="circle" icon="zoom_in" className="secondary" />
2727
<Button type="circle" icon="input" disabled={true} />
2828

2929
</section>

0 commit comments

Comments
 (0)