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

    Type Alias LitRenderFunction

    LitRenderFunction: (props: LitRenderProps) => TemplateResult

    Signature for a Lit render function attached to a LitComponentResolver. Receives the per-field LitRenderProps built by the walker and returns a Lit TemplateResult for direct interpolation into the host element's render() method.

    The return type is TemplateResult, the type produced by the html-tagged template literal. Unlike RenderFunction (React) which returns unknown so React elements, primitive children, and arbitrary value types can flow through, Lit templates have a single canonical type — narrowing makes the resolver dispatch loop simpler and forces every renderer to return a structurally compatible value.

    Type Declaration