Transforms
In addition to the default transform style properties provided by React Native. React Native for web also provides the following.
The API
Type: number | string
number | stringConversion
// CSS
- perspective: 800px;
// React Native
+ perspective: 800,Type: string
stringConversion
Type: string
stringDefault: '50% 50%'
'50% 50%'Conversion
Type: 'flat' | 'preserve-3d'
'flat' | 'preserve-3d'Conversion
Last updated