UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

15 lines 478 B
/** * The type of dialog to display. * * - `alert` - A dialog with a single button. * - `confirmation` - A dialog with two buttons, one to confirm and one to * cancel. * - `prompt` - A dialog with two buttons and a text input. */ export var DialogType; (function (DialogType) { DialogType["Alert"] = "alert"; DialogType["Confirmation"] = "confirmation"; DialogType["Prompt"] = "prompt"; })(DialogType || (DialogType = {})); //# sourceMappingURL=dialog.mjs.map