-
Notifications
You must be signed in to change notification settings - Fork 2
Flat Button
brandonk1234 edited this page Dec 5, 2016
·
2 revisions
A Flat button is displayed for frequently used actions. Generally a Button Action has no text, no background, only an icon.
-
className
- This prop must be astring
. -
type
- This prop must be astring
. -
icon
- This prop must be astring
. -
onClick
- This prop must be afunction
.
<FlatButton
className="article-item-buttons-edit-article "
type="primary"
icon="pencil4"
onClick={this.onClick} />
// ...React Component
onClick: function() {
console.log("this flat button has been clicked");
}