We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8de37bc + 183b6a5 commit 56cea99Copy full SHA for 56cea99
src/index.js
@@ -140,8 +140,8 @@ SvgAnimatedLinearGradient.propTypes = {
140
primaryColor: PropTypes.string,
141
secondaryColor: PropTypes.string,
142
duration: PropTypes.number,
143
- width: PropTypes.number,
144
- height: PropTypes.number,
+ width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
+ height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
145
x1: PropTypes.string,
146
y1: PropTypes.string,
147
x2: PropTypes.string,
0 commit comments