import React from 'react';
import 'rpgui/rpgui.css';
import 'rpgui/rpgui.min.js';
import { RPGUIOverrides } from './RPGUIOverrides';

interface IProps {
  children: React.ReactNode;
}

//@ts-ignore
export const _RPGUI = RPGUI;

export const RPGUIRoot: React.FC<IProps> = ({ children }) => {
  return (
    <RPGUIOverrides>
      <div className="rpgui-content">{children}</div>
    </RPGUIOverrides>
  );
};
