"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 __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 styleConstants_1 = require("../styleConstants");
var ChallengeResults_1 = require("./ChallengeResults");
var StyledDiv = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  display: flex;\n  font-family: ", ";\n  width: 335px;\n"], ["\n  display: flex;\n  font-family: ", ";\n  width: 335px;\n"])), styleConstants_1.fonts.SANS_SERIF);
var Container = function (_a) {
    var children = _a.children;
    return (React.createElement(StyledDiv, null,
        React.createElement("div", null, children)));
};
var totalVotes = "100000";
var votesFor = "73000";
var votesAgainst = "27000";
var percentFor = "73";
var percentAgainst = "27";
var didChallengeSucceed = false;
react_1.storiesOf("Registry", module).add("Challenge Results Chart", function () {
    return (React.createElement(Container, null,
        React.createElement(ChallengeResults_1.ChallengeResults, { totalVotes: totalVotes, votesFor: votesFor, votesAgainst: votesAgainst, percentFor: percentFor, percentAgainst: percentAgainst, didChallengeSucceed: didChallengeSucceed })));
});
var templateObject_1;
//# sourceMappingURL=ChallengeResults.stories.js.map