"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const SucessContent_style_1 = __importDefault(require("./SucessContent.style"));
const SucessContent = (props) => {
    const { label = "SUCCESS!", info, onOkay } = props;
    return (react_1.default.createElement("div", { style: SucessContent_style_1.default.container },
        react_1.default.createElement("img", { width: "150", src: "https://res.cloudinary.com/dqueufbs7/image/upload/v1614379253/images/Screen_Shot_2021-02-27_at_01.40.43.png" }),
        react_1.default.createElement("div", { style: SucessContent_style_1.default.rightWrapper },
            react_1.default.createElement("div", { style: SucessContent_style_1.default.textWrapper },
                react_1.default.createElement("div", { style: SucessContent_style_1.default.label }, label),
                info && react_1.default.createElement("div", { style: SucessContent_style_1.default.info }, info)),
            onOkay && (react_1.default.createElement("div", { style: SucessContent_style_1.default.buttonWrapper },
                react_1.default.createElement("button", { style: SucessContent_style_1.default.button, onClick: onOkay }, "OKAY"))))));
};
exports.default = SucessContent;
//# sourceMappingURL=SucessContent.js.map