-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
In the documentation for the FormKit Schema under the slots section here: https://formkit.com/essentials/schema#slots
The code example doesn't actually use any slots or show how you could do this. Can this be updated and can I get some guidance on how to do this.
I.e. if I had some component used like this:
<MyComponent>
<template #slot1>
Hello from slot 1
</template>
<template #slot2>
Hello from slot 2
</template>
</MyComponent>How would I define this in the schema syntax? I would expect something like this:
{
"$cmp": "MyComponent",
"$slots" [
{
"name": "slot1",
"children": "Hello from slot 1"
} ,
{
"name": "slot2",
"children": "Hello from slot 2"
}
]
}Or is this even possible?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels