mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-01 06:07:41 +00:00
Improve units and fontSize implementation.
Implement support for units in strokewidth based on relativeOnOther.
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user