We are using the CSS style transform/translate parameters but this is invalid for React Native typescript.
Invariant Violation: Invalid prop `transform` of type `string` supplied to `StyleSheet modalContent`, expected an array.
StyleSheet modalContent: {
"transform": "translate(-50%, -50%)",
}
What is the correct way to write this in React Native?