Adding className support to Col component.
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user