"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
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;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("@storybook/react");
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var ReviewVoteModal_1 = require("./ReviewVoteModal");
var StyledDiv = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  display: flex;\n  width: 600px;\n"], ["\n  display: flex;\n  width: 600px;\n"])));
var Container = function (_a) {
    var children = _a.children;
    return (React.createElement(StyledDiv, null,
        React.createElement("div", null, children)));
};
react_1.storiesOf("Registry / Review Vote", module).add("Review Vote Modal", function () {
    var handleClose = function () {
        console.log("Closed the  modal");
    };
    var props = {
        newsroomName: "Taco Tuesdays",
        listingDetailURL: "https://civil.co/#taco-tuesdays",
        challengeID: "420",
        open: true,
        numTokens: "1000",
        voteOption: "1",
        salt: "9635457449074",
        userAccount: "0xa441d0e2b078f13e8c45e221b81f6aa103c48a45",
        commitEndDate: 1533916728,
        revealEndDate: 1533917128,
        transactions: [],
        handleClose: handleClose,
    };
    return (React.createElement(Container, null,
        React.createElement("p", null, "Some good stuff was already on the page which is pretty exciting"),
        process.env.NODE_ENV !== "test" && React.createElement(ReviewVoteModal_1.ReviewVote, __assign({}, props))));
});
var templateObject_1;
//# sourceMappingURL=ReviewVote.stories.js.map