Skip to content

Commit

Permalink
Update packages/react-native/Libraries/StyleSheet/processTransform.js
Browse files Browse the repository at this point in the history
Co-authored-by: Pieter De Baets <pieter.debaets@gmail.com>
  • Loading branch information
intergalacticspacehighway and javache authored Mar 30, 2024
1 parent 4faf27e commit 91812cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const _getKeyAndValueFromCSSTransform: (
| $TEMPORARY$string<'translateY'>,
args: string,
) => {key: string, value?: number[] | number | string} = (key, args) => {
const argsWithUnitsRegex = new RegExp(/([+-]?\d+(\.\d+)?)([a-zA-Z%]+)?/g);
const argsWithUnitsRegex = new RegExp(/([+-]?\d+(\.\d+)?)([a-zA-Z]+|%)?/g);

switch (key) {
case 'matrix':
Expand Down

0 comments on commit 91812cd

Please sign in to comment.