mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
20 lines • 684 B
JavaScript
import { jsx as _jsx } from "preact/jsx-runtime";
import register from "preact-custom-element";
import { useNodeEditor } from "../states";
const NodeEditor = () => {
return (_jsx("div", { className: "lingo3d-ui", style: {
overflow: "hidden",
width: 500,
height: "100%",
background: "rgb(40, 41, 46)"
}, children: "hello world" }));
};
const NodeEditorParent = () => {
const [nodeEditor] = useNodeEditor();
if (!nodeEditor)
return null;
return _jsx(NodeEditor, {});
};
export default NodeEditorParent;
register(NodeEditorParent, "lingo3d-node-editor");
//# sourceMappingURL=index.js.map