Skip to content

Commit

Permalink
Merge pull request airbnb#408 from mmarkelov/Fix-VX-Responsive-ScaleS…
Browse files Browse the repository at this point in the history
…VG-PropTypes

Fix-VX-Responsive-ScaleSVG-PropTypes
  • Loading branch information
hshoff authored Jan 9, 2019
2 parents 635749c + ca3bd4b commit 0c6ec06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vx-responsive/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@



<a id="#ScaleSVG__children" name="ScaleSVG__children" href="#ScaleSVG__children">#</a> *ScaleSVG*.**children**&lt;func&gt;
<a id="#ScaleSVG__children" name="ScaleSVG__children" href="#ScaleSVG__children">#</a> *ScaleSVG*.**children**&lt;any&gt;

<a id="#ScaleSVG__height" name="ScaleSVG__height" href="#ScaleSVG__height">#</a> *ScaleSVG*.**height**&lt;union(number|string)&gt;

Expand Down
2 changes: 1 addition & 1 deletion packages/vx-responsive/docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ npm install --save @vx/responsive



<a id="#ScaleSVG__children" name="ScaleSVG__children" href="#ScaleSVG__children">#</a> *ScaleSVG*.**children**&lt;func&gt;
<a id="#ScaleSVG__children" name="ScaleSVG__children" href="#ScaleSVG__children">#</a> *ScaleSVG*.**children**&lt;any&gt;

<a id="#ScaleSVG__height" name="ScaleSVG__height" href="#ScaleSVG__height">#</a> *ScaleSVG*.**height**&lt;union(number|string)&gt;

Expand Down
2 changes: 1 addition & 1 deletion packages/vx-responsive/src/components/ScaleSVG.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';

ResponsiveSVG.propTypes = {
children: PropTypes.func,
children: PropTypes.any,
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
xOrigin: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
Expand Down

0 comments on commit 0c6ec06

Please sign in to comment.