schema-components - v3.7.0
    Preparing search index...

    Interface SvelteComponentResolver

    Theme adapter — maps every schema field type to a Svelte SvelteRenderFunction. Unset keys fall back to the headless resolver.

    Pass to "./contexts.ts".resolverContext (via the SchemaProvider Svelte component) so a single theme drives every schema render in a subtree.

    Structurally parallel to "../core/renderer.ts".ComponentResolver for React, but each value is a SvelteRenderFunction returning a SvelteRenderDescriptor rather than a render function returning a ReactNode.

    Index

    Properties

    discriminatedUnion?: SvelteRenderFunction
    conditional?: SvelteRenderFunction