import React from 'react';
import { useThemeClassFor, classForComponent } from '../utils/classFor';
import './../styles/notice.sass';
import './../styles/themes/Jarvis/noticeThemeJarvis.sass';
export var Notice = function (_a) {
    var message = _a.message;
    var theme = useThemeClassFor();
    if (message) {
        return (React.createElement("div", { className: theme + " " + classForComponent('notice-wrapper') },
            React.createElement("div", { className: classForComponent('notice') }, message)));
    }
    return null;
};
//# sourceMappingURL=Notice.js.map