I need this npm module in a project and just tried it before using by copying the code provided in the example, my App.js is simple and looks like this: `import React from 'react';
import { StyleSheet, Text, View, TouchableOpacity } from 'react-native';
import CardFlip from 'react-native-card-flip';
I need this npm module in a project and just tried it before using by copying the code provided in the example, my App.js is simple and looks like this: `import React from 'react'; import { StyleSheet, Text, View, TouchableOpacity } from 'react-native'; import CardFlip from 'react-native-card-flip';
export default class App extends React.Component { render() { return (
} }
const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#fff', alignItems: 'center', justifyContent: 'center', }, }); `
But on simulator it gives the following error: ReferenceError: bYRotation is not defined
and it marks the following lines: ` }); 262 | } else { 263 | // cardB Y-rotation
I am guessing it's some issues with the this module.