react-native-tour
react-native-tour copied to clipboard
Cannot read property "onLayout" of undefined error
trafficstars
Do I have to make sure the component is wrapped in the consumer before I can <Attach>?
Are you sure you have
import { Tour } from 'react-native-tour';
<Tour steps={steps}>
<Navigation />
</Tour>;
the Tour component must be around everything. This is the provider that allows the consumer to work properly inside of Attach