I run npm install react-native-animatable --save command
Add below line to index.js
import * as Animatable from 'react-native-animatable';
and below code inside return function
<Animatable.Text animation="slideInDown" iterationCount={5} direction="alternate">Up and down you go</Animatable.Text>
I get below build error, please advise how to fix this:
Generating development JavaScript bundle failed
Unexpected token (133:23)
File: node_modules\react-native-animatable\createAnimatableComponent.js:133:23
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
Unexpected token (13:7)
File: node_modules\react-native\index.js:13:7
failed Building development bundle - 13.763s
I run
npm install react-native-animatable --save
commandAdd below line to index.js
import * as Animatable from 'react-native-animatable';
and below code inside return function
<Animatable.Text animation="slideInDown" iterationCount={5} direction="alternate">Up and down you go</Animatable.Text>
I get below build error, please advise how to fix this:
Packages installed: