"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 = __importStar(require("react"));
var TutorialStyledComponents_1 = require("./TutorialStyledComponents");
var elements_1 = require("@joincivil/elements");
exports.TutorialTopicCompleted = function (props) {
    var buttonNext = props.lastTopic ? (React.createElement(TutorialStyledComponents_1.TutorialBtn, { onClick: props.handleClose }, props.continueBtnText)) : (React.createElement(TutorialStyledComponents_1.TutorialBtn, { onClick: props.onClickNextTopic }, props.continueBtnText));
    return (React.createElement(TutorialStyledComponents_1.TutorialContentWrap, { centerContent: true },
        React.createElement(elements_1.HollowGreenCheck, { width: 50, height: 50 }),
        React.createElement(TutorialStyledComponents_1.TutorialCompletedHeader, null, props.completedHeader),
        React.createElement(TutorialStyledComponents_1.TutorialCompletedP, null, props.completedText),
        buttonNext));
};
//# sourceMappingURL=TutorialTopicCompleted.js.map