Added dynamic component rendering attached to message with the

@app: command
This commit is contained in:
Samuel Andert
2023-07-22 16:08:00 +02:00
parent 379a163fce
commit 0053515286
4 changed files with 66 additions and 22 deletions

View File

@ -11,7 +11,7 @@
}
</script>
<div class="grid h-full w-full" style="display: grid; {componentsData.layout || ''}">
<div class="grid w-full h-full" style="display: grid; {componentsData.layout || ''}">
{#each componentsData.children as component (component.id)}
{#await getComponent(component.componentName) then Component}
{#if Component}