"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;
};
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 TokenTutorialLanding_1 = require("./TokenTutorialLanding");
var apollo_storybook_react_1 = __importDefault(require("apollo-storybook-react"));
var onClickFunc = function () {
    console.log("clicked!");
};
var typeDefs = "\n  type User {\n    uid: String\n    email: String\n    ethAddress: String\n  }\n\n  type Query {\n    currentUser: User\n  }\n\n  schema {\n    query: Query\n  }\n";
var mocks = {
    Query: function () {
        return {
            currentUser: function () {
                return {
                    uid: "abcd",
                    email: "rad@civil.co",
                    quizPayload: {},
                    quizStatus: "",
                };
            },
        };
    },
};
react_1.storiesOf("Storefront / Token Tutorial", module)
    .addDecorator(apollo_storybook_react_1.default({
    typeDefs: typeDefs,
    mocks: mocks,
}))
    .add("Tutorial Landing", function () {
    return React.createElement(TokenTutorialLanding_1.TokenTutorialLanding, { quizPayload: {}, handleClose: onClickFunc });
});
//# sourceMappingURL=TokenTutorial.stories.js.map