File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
2
- <SLDSButton flavor="neutral " onClick={this.handleButtonClick}>Test Button</SLDSButton>
2
+ <SLDSButton flavor="brand " onClick={this.handleButtonClick}>Test Button</SLDSButton>
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default class HomePage extends Component {
34
34
}
35
35
36
36
handleButtonClick ( ) {
37
- console . log ( "SLDS Test Button Clicked") ;
37
+ alert ( " Test Button Clicked") ;
38
38
}
39
39
40
40
render ( ) {
@@ -75,7 +75,7 @@ export default class HomePage extends Component {
75
75
{ require ( "raw-loader!../code-snippets/SLDSButton.txt" ) }
76
76
</ PrismCode >
77
77
< div className = "slds-p-vertical--large" >
78
- < SLDSButton flavor = "neutral " onClick = { this . handleButtonClick } >
78
+ < SLDSButton flavor = "brand " onClick = { this . handleButtonClick } >
79
79
Test Button
80
80
</ SLDSButton >
81
81
</ div >
You can’t perform that action at this time.
0 commit comments