Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit e4bb50e

Browse files
authored
Merge pull request #46 from jimthedev/strip-nogutter-prop-before-passthru
Closes #45 and bump to 3.0.7
2 parents 8a500d3 + a0bc22f commit e4bb50e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-grid-system",
3-
"version": "3.0.6",
3+
"version": "3.0.7",
44
"description": "A no CSS Bootstrap-like responsive grid system for React.",
55
"main": "./build/index.js",
66
"scripts": {

src/grid/Row/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ export default class Row extends React.Component {
5656

5757
render = () => {
5858
const {
59-
children, style, align, grow, debug, ...otherProps
59+
children, style, align, grow, debug, nogutter, ...otherProps
6060
} = this.props;
6161
const theStyle = getStyle({
62-
gutterWidth: this.props.nogutter ? 0 : this.context.gutterWidth,
62+
gutterWidth: nogutter ? 0 : this.context.gutterWidth,
6363
align,
6464
grow,
6565
debug,

0 commit comments

Comments
 (0)