react-native-copilot
react-native-copilot copied to clipboard
walkthroughable break app
I am following the example, my screen is a function, not a class, I also have Redux connected export default copilot ({ overlay: "svg", animated: true }) (connect (mapStateToProps, mapDispatchToProps) (Profile)); And I see the props arrive: Object { "emit": [Function emit], "off": [Function off], "on": [Function on], } But when I put walkthroughable in place the app breaks and throws at me: Element type is invalid: expected a string (for built-in components) or a class / function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.