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 {
render() {
return (
<div className={'cell small-' + this.props.width}>
<div className={'cell small-' + this.props.width + ' ' + (this.props.className ? this.props.className : '')}>
{this.props.children}
</div>
);

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

Loading…
Cancel
Save