Bug
I'm getting typing error when using Marker props (like markerMid, markerEnd, ...) in Path component.
also IDEA is importing Marker component from 'react-native-svg/lib/typescript' directory, is it correct? Why it is not import from react-native-svg just like the other components?
Environment info
"react": "16.8.3",
"react-native": "0.59.10",
React native info output:
TS2322: Type '{ key: string; d: string; stroke: string; fill: string; strokeWidth: number; markerMid: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<PathProps, any, any>> & Readonly<PathProps> & Readonly<{ children?: ReactNode; }>'.
Property 'markerMid' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<PathProps, any, any>> & Readonly<PathProps> & Readonly<{ children?: ReactNode; }>'.
Library version: 9.13.3
Steps To Reproduce
Reproducible sample code
Bug
I'm getting typing error when using Marker props (like
markerMid,markerEnd, ...) inPathcomponent.also IDEA is importing
Markercomponent from'react-native-svg/lib/typescript'directory, is it correct? Why it is not import fromreact-native-svgjust like the other components?Environment info
"react": "16.8.3",
"react-native": "0.59.10",
React native info output:
Library version: 9.13.3
Steps To Reproduce
Reproducible sample code