Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
menus: [
{
label: "Share me please"
}
]
}
]
let menus
if (Platform.OS === 'android') {
menus = menusAndroid;
} else if (Platform.OS === 'ios') {
menus = meunsIOS;
}
RNPopover.Show(ref, { menus: menus, onDone: selection => {
console.log("selected item index: " + selection);
}, onCancel: () => {
console.log("popover canceled");
}, tintColor: "#888888", textColor: "#FFFFFF" });
}