"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 classFor_1 = require("../utils/classFor");
require("./../styles/notice.sass");
require("./../styles/themes/Jarvis/noticeThemeJarvis.sass");
exports.Notice = function (_a) {
    var message = _a.message;
    var theme = classFor_1.useThemeClassFor();
    if (message) {
        return (react_1.default.createElement("div", { className: theme + " " + classFor_1.classForComponent('notice-wrapper') },
            react_1.default.createElement("div", { className: classFor_1.classForComponent('notice') }, message)));
    }
    return null;
};
//# sourceMappingURL=Notice.js.map