I am using this package to add a switch to my native app. I am attaching the error image
to solve this error, I had to make declaration changes to the index file. The changes I made are:
import React,{Component} from 'react';
import {PanResponder,
View,
TouchableHighlight,
Animated} from 'react-native';
Please solve the issue with the package so that others don't face the similar problem.
Hello,
I am using this package to add a switch to my native app. I am attaching the error image
to solve this error, I had to make declaration changes to the index file. The changes I made are: import React,{Component} from 'react'; import {PanResponder, View, TouchableHighlight, Animated} from 'react-native';
Please solve the issue with the package so that others don't face the similar problem.
Thanks!