Helper: wrap a Svelte component constructor into the
"render function" shape consumed by the dispatcher. Pairs the
supplied component with the per-field props.
Used by "./headless.ts".headlessSvelteResolver to register
one constructor per schema type, and exposed publicly so theme
adapter authors can compose their own resolver from .svelte
files without re-implementing the wrapper.
Helper: wrap a Svelte component constructor into the "render function" shape consumed by the dispatcher. Pairs the supplied component with the per-field props.
Used by "./headless.ts".headlessSvelteResolver to register one constructor per schema type, and exposed publicly so theme adapter authors can compose their own resolver from
.sveltefiles without re-implementing the wrapper.