BlueWallet/components/TooltipMenu.js
2021-02-25 21:37:28 -05:00

23 lines
509 B
JavaScript

import React, { forwardRef, useEffect } from 'react';
import { View } from 'react-native';
const ToolTipMenu = (props, ref) => {
const showMenu = () => {
console.log('not implemented');
};
const hideMenu = () => {
console.log('not implemented');
};
useEffect(() => {
ref.current.showMenu = showMenu;
ref.current.hideMenu = hideMenu;
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [ref]);
return <View ref={ref} />;
};
export default forwardRef(ToolTipMenu);