diff --git a/lib/google.js b/lib/google.js index fc025ac..56b04bd 100644 --- a/lib/google.js +++ b/lib/google.js @@ -45,7 +45,10 @@ var Google = function (_React$Component) { 'data-ad-slot': this.props.slot, 'data-ad-layout': this.props.layout, 'data-ad-layout-key': this.props.layoutKey, + 'data-matched-content-ui-type':this.props.matchedContentUiType, 'data-ad-format': this.props.format, + 'data-matched-content-row-num:':this.props.matchedContentRowsNum, + 'data-matched-content-columns-num:':this.props.matchedContentColsNum, 'data-full-width-responsive': this.props.responsive }); } }]); @@ -61,6 +64,9 @@ Google.propTypes = { style: _propTypes2.default.object, // eslint-disable-line client: _propTypes2.default.string.isRequired, slot: _propTypes2.default.string.isRequired, + matchedContentRowsNum: _propTypes2.default.string, + matchedContentColsNum: _propTypes2.default.string, + matchedContentUiType: _propTypes2.default.string, layout: _propTypes2.default.string, layoutKey: _propTypes2.default.string, format: _propTypes2.default.string, diff --git a/package.json b/package.json index d2aeb24..72789d4 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "babel-preset-react-hmre": "^1.1.1", "cross-env": "^5.0.0", "css-loader": "^0.28.4", - "eslint": "^6.6.0", + "eslint": "^3.19.0", "eslint-plugin-babel": "^4.1.1", "eslint-plugin-react": "^7.0.1", "file-loader": "^0.11.1",