"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var SubDialogHeader_1 = require("../Headers/SubDialogHeader");
var Notice_1 = require("../../commons/Notice");
exports.SubDialogWrapper = function (_a) {
    var children = _a.children, ensName = _a.ensName, message = _a.message;
    return (react_1.default.createElement(react_1.default.Fragment, null,
        react_1.default.createElement(SubDialogHeader_1.SubDialogHeader, { ensName: ensName }),
        react_1.default.createElement(Notice_1.Notice, { message: message }),
        react_1.default.createElement("div", { className: "udashboard-content" }, children)));
};
//# sourceMappingURL=SubDialogWrapper.js.map