BlueWallet/screen/ActionSheet.common.ts

12 lines
300 B
TypeScript
Raw Normal View History

// ActionSheet.common.ts
export interface ActionSheetOptions {
title?: string;
message?: string;
options: string[]; // Array of button labels.
destructiveButtonIndex?: number;
cancelButtonIndex?: number;
anchor?: number;
}
2024-03-09 05:08:07 +01:00
export type CompletionCallback = (buttonIndex: number) => void;