Skip to content

Commit 24212aa

Browse files
EvanBaconnecolas
authored andcommittedDec 20, 2023
[fix] Remove transform style warning
React Native's implementation of string transforms is incomplete. Close #2622
1 parent a3ea2a0 commit 24212aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎packages/react-native-web/src/exports/StyleSheet/preprocess.js

-4
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,6 @@ export const preprocess = <T: {| [key: string]: any |}>(
203203
}
204204
} else if (prop === 'transform') {
205205
if (Array.isArray(value)) {
206-
warnOnce(
207-
'transform',
208-
'"transform" style array value is deprecated. Use space-separated string functions, e.g., "scaleX(2) rotateX(15deg)".'
209-
);
210206
value = createTransformValue(value);
211207
}
212208
nextStyle.transform = value;

0 commit comments

Comments
 (0)
Please sign in to comment.