From 1dddef3f64627df070436cfb594037746d57de85 Mon Sep 17 00:00:00 2001 From: Laurens Lamberts <48212886+weareyou-laurens@users.noreply.github.com> Date: Mon, 26 Aug 2019 14:23:20 +0200 Subject: [PATCH] Added missing Image clipPath property to type def. In the specs can be found that this property may be used, and I have verified the working; https://github.com/react-native-community/react-native-svg#image --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index 521529b5..2c6759c0 100644 --- a/index.d.ts +++ b/index.d.ts @@ -225,6 +225,7 @@ export interface ImageProps extends ResponderProps, CommonMaskProps, ClipProps, href: ReactNative.ImageProperties['source'], preserveAspectRatio?: string, opacity?: NumberProp, + clipPath?: string } export const Image: React.ComponentClass;