File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ module.exports = React.createClass
10
10
type : React .PropTypes .string .required
11
11
12
12
getDefaultProps : ->
13
- active : false
14
13
className : " "
15
- hideable : false
16
14
type : " left"
17
15
18
16
getInitialState : ->
Original file line number Diff line number Diff line change 4
4
var Button = require('react-toolbox/components/button');
5
5
6
6
<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" />
9
9
<Button caption="Disabled" disabled />
10
10
11
11
<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" />
14
14
<Button type="circle" icon="input" disabled={true} />
15
15
```
16
16
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ module.exports = React.createClass
17
17
<h2 >Buttons</h2 >
18
18
<p >lorem ipsum... </p >
19
19
<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" />
22
22
<Button caption = " Disabled" disabled = {true } />
23
23
24
24
<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" />
27
27
<Button type = " circle" icon = " input" disabled = {true } />
28
28
29
29
</section >
You can’t perform that action at this time.
0 commit comments