Adding className support to Col component.

logins
Thomas Hintz 5 years ago
parent 7c57682d3d
commit 990b0c533f

@ -48,7 +48,7 @@ class Row extends React.Component {
class Col extends React.Component { class Col extends React.Component {
render() { render() {
return ( return (
<div className={'cell small-' + this.props.width}> <div className={'cell small-' + this.props.width + ' ' + (this.props.className ? this.props.className : '')}>
{this.props.children} {this.props.children}
</div> </div>
); );

@ -1942,9 +1942,6 @@
;; mark spaces ;; mark spaces
;; can't trade other player's ridge
;; don't let players join without name
;; error: ;; error:
;; Call history: ;; Call history:

Loading…
Cancel
Save