Skip to content

Commit

Permalink
Merge pull request #46 from jimthedev/strip-nogutter-prop-before-pass…
Browse files Browse the repository at this point in the history
…thru

Closes #45 and bump to 3.0.7
  • Loading branch information
abfx authored Oct 17, 2017
2 parents 8a500d3 + a0bc22f commit e4bb50e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-grid-system",
"version": "3.0.6",
"version": "3.0.7",
"description": "A no CSS Bootstrap-like responsive grid system for React.",
"main": "./build/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/grid/Row/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ export default class Row extends React.Component {

render = () => {
const {
children, style, align, grow, debug, ...otherProps
children, style, align, grow, debug, nogutter, ...otherProps
} = this.props;
const theStyle = getStyle({
gutterWidth: this.props.nogutter ? 0 : this.context.gutterWidth,
gutterWidth: nogutter ? 0 : this.context.gutterWidth,
align,
grow,
debug,
Expand Down

0 comments on commit e4bb50e

Please sign in to comment.