"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 Contributors_1 = require("./Contributors");
var ContributorCount_1 = require("./ContributorCount");
var ContributorsDefaultAvatar_1 = require("./ContributorsDefaultAvatar");
var Container = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  width: 400px;\n"], ["\n  width: 400px;\n"])));
var contributors = [
    {
        usdEquivalent: 2.5,
        payerChannel: {
            handle: "violetnight13",
            tiny72AvatarDataUrl: "https://picsum.photos/50",
        },
    },
    {
        usdEquivalent: 3,
        payerChannel: {
            handle: "CaryRay",
            tiny72AvatarDataUrl: "https://picsum.photos/50",
        },
    },
    {
        usdEquivalent: 5,
        payerChannel: {
            handle: "ronburgundy",
            tiny72AvatarDataUrl: "https://picsum.photos/50",
        },
    },
];
react_1.storiesOf("Common / Contributors", module)
    .add("Contributors", function () {
    return (React.createElement(Container, null,
        React.createElement(Contributors_1.Contributors, { sortedContributors: contributors })));
})
    .add("Contributor Count", function () {
    return (React.createElement(Container, null,
        React.createElement(ContributorCount_1.ContributorCount, { displayedContributors: contributors, totalContributors: 30 })));
})
    .add("Contributor Default Avatar", function () {
    return (React.createElement(Container, null,
        React.createElement(ContributorsDefaultAvatar_1.ContributorsDefaultAvatar, { contributor: contributors[0], index: 1, size: 17 })));
});
var templateObject_1;
//# sourceMappingURL=Contributors.stories.js.map