diff --git a/.vscode/settings.json b/.vscode/settings.json index d71538b..e9d5f61 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "cSpell.words": [ + "Customizer", "Hutten", "cadquery", "jscad", diff --git a/app/web/src/components/Customizer/Customizer.tsx b/app/web/src/components/Customizer/Customizer.tsx new file mode 100644 index 0000000..e89633d --- /dev/null +++ b/app/web/src/components/Customizer/Customizer.tsx @@ -0,0 +1,68 @@ +import { useRender } from 'src/components/IdeWrapper/useRender' + +const Customizer = () => { + const [open, setOpen] = React.useState(true) + const ref = React.useRef() + const jsCadCustomizerElement = ref.current + React.useEffect(() => { + console.log(jsCadCustomizerElement) + if (jsCadCustomizerElement) { + jsCadCustomizerElement.innerHTML = `
lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+lots of lines should cause scroll
+