mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
31 lines
689 B
TypeScript
31 lines
689 B
TypeScript
import { ViewStyle } from 'react-native';
|
|
|
|
export interface Action {
|
|
id: string | number;
|
|
text: string;
|
|
icon: {
|
|
iconType: string;
|
|
iconValue: string;
|
|
};
|
|
menuTitle?: string;
|
|
menuStateOn?: boolean;
|
|
disabled?: boolean;
|
|
}
|
|
|
|
export interface ToolTipMenuProps {
|
|
actions: Action[] | Action[][];
|
|
children: React.ReactNode;
|
|
enableAndroidRipple?: boolean;
|
|
onPressMenuItem: (id: string) => void;
|
|
title?: string;
|
|
isMenuPrimaryAction?: boolean;
|
|
isButton?: boolean;
|
|
renderPreview?: () => React.ReactNode;
|
|
onPress?: () => void;
|
|
previewValue?: string;
|
|
disabled?: boolean;
|
|
buttonStyle?: ViewStyle;
|
|
onMenuWillShow?: () => void;
|
|
onMenuWillHide?: () => void;
|
|
}
|