"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("@storybook/react");
var React = __importStar(require("react"));
var MetaMaskModal_1 = require("./MetaMaskModal");
var _1 = require(".");
var func = function () {
    return;
};
react_1.storiesOf("Common / Ethereum / MetaMaskModal", module)
    .add("preMetaMaskModal", function () {
    return process.env.NODE_ENV !== "test" ? (React.createElement(MetaMaskModal_1.MetaMaskModal, { cancelTransaction: func, startTransaction: func, waiting: false },
        React.createElement(_1.ModalHeading, null, "test"))) : (React.createElement("div", null, " test "));
})
    .add("waitingMetaMaskModal", function () {
    return process.env.NODE_ENV !== "test" ? (React.createElement(MetaMaskModal_1.MetaMaskModal, { cancelTransaction: func, startTransaction: func, waiting: true },
        React.createElement(_1.ModalHeading, null, "test"))) : (React.createElement("div", null, " test "));
})
    .add("deniedMetaMaskModal", function () {
    return process.env.NODE_ENV !== "test" ? (React.createElement(MetaMaskModal_1.MetaMaskModal, { denialText: "something something something", cancelTransaction: func, startTransaction: func, waiting: false, denied: true },
        React.createElement(_1.ModalHeading, null, "test"))) : (React.createElement("div", null, " test "));
})
    .add("SignatureMetaMaskModal", function () {
    return process.env.NODE_ENV !== "test" ? (React.createElement(MetaMaskModal_1.MetaMaskModal, { cancelTransaction: func, startTransaction: func, waiting: false, signing: true },
        React.createElement(_1.ModalHeading, null, "test"))) : (React.createElement("div", null, " test "));
})
    .add("SignatureMetaMaskModal waiting", function () {
    return process.env.NODE_ENV !== "test" ? (React.createElement(MetaMaskModal_1.MetaMaskModal, { cancelTransaction: func, startTransaction: func, waiting: true, signing: true },
        React.createElement(_1.ModalHeading, null, "test"))) : (React.createElement("div", null, " test "));
});
//# sourceMappingURL=MetaMaskModal.stories.js.map