UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

11 lines (10 loc) 480 B
import * as React from 'react'; import { Box } from 'rebass'; import { useAdaptable } from '../AdaptableContext'; import { ThemePopup } from './ThemePopup'; export const ThemeEditorWindow = () => { const adaptable = useAdaptable(); const moduleInfo = adaptable.ModuleService.getModuleInfoByModule('Theme'); return (React.createElement(Box, { p: 2 }, React.createElement(ThemePopup, { hideShowInWindow: true, moduleInfo: moduleInfo, api: adaptable.api }))); };