mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
import React from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
|
|
import { DevToolsApp } from "./devtools";
|
|
|
|
export const renderDevTools = (container: Element) => {
|
|
const root = createRoot(container);
|
|
root.render(React.createElement(DevToolsApp));
|
|
};
|
|
|
|
export { DevToolsApp };
|