From ceb6c57d494e69ba571f182de934c4626b961b2b Mon Sep 17 00:00:00 2001 From: Michael Prokopchuk Date: Mon, 25 Jun 2018 16:14:39 -0400 Subject: [PATCH 1/2] Expo: Add support for missing height and width Svg.Use props --- types/expo/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/expo/index.d.ts b/types/expo/index.d.ts index dadfa06f86..641c3f1ded 100644 --- a/types/expo/index.d.ts +++ b/types/expo/index.d.ts @@ -2076,6 +2076,8 @@ export interface SvgUseProps extends SvgCommonProps { href: string; x: number | string; y: number | string; + width?: number | string; + height?: number | string; } export interface SvgSymbolProps extends SvgCommonProps { From 9a85fd4c1155948c908d0050a84b9a65b28b1107 Mon Sep 17 00:00:00 2001 From: Michael Prokopchuk Date: Mon, 25 Jun 2018 16:17:50 -0400 Subject: [PATCH 2/2] Expo: Add test for Svg.Use to check for optional width and height props --- types/expo/expo-tests.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/types/expo/expo-tests.tsx b/types/expo/expo-tests.tsx index d9b7edcb5d..564611bb60 100644 --- a/types/expo/expo-tests.tsx +++ b/types/expo/expo-tests.tsx @@ -478,6 +478,7 @@ async () => { /> +