react-native-hotspot
A React Native component that displays hotspots over desired components to help lead your users through an onboarding flow or direct them towards new UI elements
Getting Started
Installing
npm install react-native-hotspot
Using
; // in your screen's constructor, use the helper with an array of onPress actions you want your hotspots to triggerthiscomponentRefs = ; // drop the component below the outer wrapping parent of your screen<RNHotspot componentRefs=thiscomponentRefs /> // expose the refs in the same order as the array defined above<Button title="Button #1" onPress= {} ref=thiscomponentRefs0ref/><Button title="Button #2" onPress= {} ref=thiscomponentRefs1ref/>
Testing
This component has been tested on React Native v0.57
License
react-native-hotspot is MIT licensed and built with ❤️ in Austin, TX by the team at LawnStarter