Improve units and fontSize implementation.

Implement support for units in strokewidth based on relativeOnOther.
This commit is contained in:
Mikael Sand
2017-07-19 23:35:34 +03:00
parent 3796b6a532
commit ebeb89beb5
6 changed files with 44 additions and 25 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ const definationProps = {
const strokeProps = {
stroke: PropTypes.string,
strokeWidth: numberProp,
strokeWidth: PropTypes.string,
strokeOpacity: numberProp,
strokeDasharray: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.string]),
strokeDashoffset: numberProp,