Animations
Because RNWeb doesn't support the React Native LayoutAnimation API we need to use other methods for animating our components around the screen. A good alternative is the CSS Transitions API.
What can it do?
The API
Type: string | string[]
string | string[]Default: '0s'
'0s'Conversion
// CSS
- animation-delay: 650ms;
// React Native
+ animationDelay: "650ms",Type: string | string[]
string | string[]Default: 'normal'
'normal'Values: 'alternate' | 'alternate-reverse' | 'normal' | 'reverse'
'alternate' | 'alternate-reverse' | 'normal' | 'reverse'Conversion
Type: string | string[]
string | string[]Default: '0s'
'0s'Conversion
Type: string | string[]
string | string[]Default: 'forwards'
'forwards'Values: 'none' | 'forwards' | 'backwards' | 'both'
'none' | 'forwards' | 'backwards' | 'both'Conversion
Type: number | 'infinite' | Array<number, 'infinite'>
number | 'infinite' | Array<number, 'infinite'>Default: 1
1Values: <number> | 'infinite'
<number> | 'infinite'Conversion
Type: string | Object | Array<string, Object>
string | Object | Array<string, Object>Conversion
Type: string | string[]
string | string[]Default: 'running'
'running'Values: 'paused' | 'running'
'paused' | 'running'Conversion
Type: string | string[]
string | string[]Default: 'normal'
'normal'Conversion
Last updated