Skip to content

Commit bcba275

Browse files
fix: RNTester TransformExample crash
1 parent bbb3a61 commit bcba275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rn-tester/js/examples/Transform/TransformExample.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ const styles = StyleSheet.create({
208208
width: 50,
209209
},
210210
box7Transform: {
211-
transform: 'translate(-50, 35) rotate(50deg) scale(2)',
211+
transform: 'translate(-50px, 35px) rotate(50deg) scale(2)',
212212
},
213213
flipCardContainer: {
214214
marginVertical: 40,
@@ -337,7 +337,7 @@ exports.examples = [
337337
},
338338
{
339339
title: 'Transform using a string',
340-
description: "transform: 'translate(-50, 35) rotate(50deg) scale(2)'",
340+
description: "transform: 'translate(-50px, 35px) rotate(50deg) scale(2)'",
341341
render(): Node {
342342
return (
343343
<View style={styles.container}>

0 commit comments

Comments
 (0)