Skip to content

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: package.json

+1-1
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": {

Diff for: src/grid/Row/index.jsx

+2-2
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)