"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ThemeEditorWindow = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const AdaptableContext_1 = require("../AdaptableContext");
const ThemePopup_1 = require("./ThemePopup");
const Flex_1 = require("../../components/Flex");
const ThemeEditorWindow = () => {
    const adaptable = (0, AdaptableContext_1.useAdaptable)();
    const moduleInfo = adaptable.ModuleService.getModuleInfoByModule('Theme');
    return (React.createElement(Flex_1.Box, { className: "twa:p-2" },
        React.createElement(ThemePopup_1.ThemePopup, { hideShowInWindow: true, moduleInfo: moduleInfo, api: adaptable.api })));
};
exports.ThemeEditorWindow = ThemeEditorWindow;
