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 @@ -35,7 +35,7 @@ export default class HomePage extends Component {
35
35
}
36
36
37
37
handleButtonClick ( ) {
38
- console . log ( "SLDS Test Button Clicked") ;
38
+ alert ( " Test Button Clicked") ;
39
39
}
40
40
41
41
render ( ) {
@@ -76,7 +76,7 @@ export default class HomePage extends Component {
76
76
{ require ( "raw-loader!../code-snippets/SLDSButton.txt" ) }
77
77
</ PrismCode >
78
78
< div className = "slds-p-vertical--large" >
79
- < SLDSButton flavor = "neutral " onClick = { this . handleButtonClick } >
79
+ < SLDSButton flavor = "brand " onClick = { this . handleButtonClick } >
80
80
Test Button
81
81
</ SLDSButton >
82
82
</ div >
You can’t perform that action at this time.
0 commit comments