Merge pull request #2616 from BlueWallet/tipac

Update TooltipMenu.android.js
This commit is contained in:
GLaDOS 2021-02-12 23:15:41 +00:00 committed by GitHub
commit 435cd72282
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,13 +3,6 @@ import PropTypes from 'prop-types';
import { View } from 'react-native';
import showPopupMenu from 'react-native-popup-menu-android';
export const ToolTipAction = { text: '', onPress: () => {}, id: '' };
ToolTipAction.propTypes = {
text: PropTypes.string.isRequired,
onPress: PropTypes.func.isRequired,
id: PropTypes.string,
};
const ToolTipMenu = (props, ref) => {
const handleToolTipSelection = selection => {
props.onPress(selection.id);