react-native-callout
Simple Callout View for react-native which can be used on both iOS/Android
Content
Installation
npm install react-native-callout
Usage example
var MJCallout = ; var Application = React;
Properties
width
(Number) - Width of the Callout (default is 200)arrowDirection
(Enum) - Directions for the arrow of the callout, namely: up, down, left & rightvisibility
(Number) - Set 0 for hiding the callout and 1 to show the calloutcalloutText
(String) - Text to be shown inside the callout,
Live example
git clone https://github.com/mayuur/react-native-callout.gitcd react-native-callout/examplesnpm installreact-native run-iosORreact-native run-android
Additionally, you can open the iOS or Android Project and debug it accordingly
License
MIT License
Questions?
Feel free to create an issue or Talk to me @mayuur