Added more button customization options
This commit is contained in:
1 parent
0c9c80f65d
commit
b4e469743f
4 files changed
+18
-4
No files matched your search
@@ -65,6 +65,10 @@ class Button extends React.Component {
|
||||
contents = this.props.children;
|
||||
}
|
||||
|
||||
if(this.props.style) {
|
||||
clazzes += " o-btn--style-" + this.props.style;
|
||||
}
|
||||
|
||||
//Determine extra clazzes
|
||||
if(this.props.className) this.clazzes += " "+this.props.className;
|
||||
|
||||
|
||||
Reference in new issue
Block a user