From 24212aacf6883d44e6135b8de027375e7beb6153 Mon Sep 17 00:00:00 2001 From: evanbacon Date: Tue, 19 Dec 2023 15:36:15 -0600 Subject: [PATCH] [fix] Remove transform style warning React Native's implementation of string transforms is incomplete. Close #2622 --- .../react-native-web/src/exports/StyleSheet/preprocess.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/react-native-web/src/exports/StyleSheet/preprocess.js b/packages/react-native-web/src/exports/StyleSheet/preprocess.js index e9b4d366e..95c08be07 100644 --- a/packages/react-native-web/src/exports/StyleSheet/preprocess.js +++ b/packages/react-native-web/src/exports/StyleSheet/preprocess.js @@ -203,10 +203,6 @@ export const preprocess = ( } } else if (prop === 'transform') { if (Array.isArray(value)) { - warnOnce( - 'transform', - '"transform" style array value is deprecated. Use space-separated string functions, e.g., "scaleX(2) rotateX(15deg)".' - ); value = createTransformValue(value); } nextStyle.transform = value;