I'd like to be able to customize some button content with complex elements, where a label is not enough.
The component icon button is also not suitable since it's rounded.
What I'd like would be something like:
<FlatButton>
<Icon icon='action-alarm-on'/> wake up!
</FlatButton>
This can be done easily by replacing this line with
<span className="mui-flat-button-label">{label || this.props.children}</span>
and making the property label optional.
What do you guys think?
I'd like to be able to customize some button content with complex elements, where a label is not enough.
The component
icon buttonis also not suitable since it's rounded.What I'd like would be something like:
This can be done easily by replacing this line with
and making the property label optional.
What do you guys think?