mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
23 lines
509 B
JavaScript
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);
|