Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…2671) Summary: After update to the latest `react-native` version we discover that we are unable to use `number%` value for `translate*` props : ```tsx StyleSheet.create({ root: { transform: [ { translateX: '-50%' }, // ^^^^^^ TS Error: Type string is not assignable to type AnimatableNumericValue | undefined ], } }); ``` --- percentage values are supported, demo: https://snack.expo.dev/retyui/test-tstransform ## Changelog: [GENERAL] [FIXED] - Update typescript definition of `translateX` & `translateX` to be able to use percentage values Pull Request resolved: #42671 Test Plan: `yarn tsc --noEmit` Reviewed By: rozele, cortinico Differential Revision: D53146046 Pulled By: NickGerleman fbshipit-source-id: 3486e7a9b55b98c36cc96b2bca4bb27841061e80
- Loading branch information