Adding className support to Col component.

This commit is contained in:
2020-04-03 12:53:41 -07:00
parent 7c57682d3d
commit 990b0c533f
2 changed files with 1 additions and 4 deletions

View File

@@ -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>
);

View File

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