UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

18 lines 598 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DialogType = void 0; /** * 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. */ var DialogType; (function (DialogType) { DialogType["Alert"] = "alert"; DialogType["Confirmation"] = "confirmation"; DialogType["Prompt"] = "prompt"; })(DialogType || (exports.DialogType = DialogType = {})); //# sourceMappingURL=dialog.cjs.map