Added more button customization options

This commit is contained in:
YourWishes committed 2018-05-11 19:53:11 +10:00
1 parent 0c9c80f65d
commit b4e469743f
4 files changed
+18 -4

No files matched your search

+4
View File
@@ -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;