type-alias / @typed/template

WebComponent.RenderProps

Each field is a read-only computed value, including optional fields.

Package version
1.0.0-beta.13
Category
Web Components
Since
1.0.0
Member of
WebComponent

Import

import { WebComponent } from "@typed/template";

Access WebComponent.RenderProps through the imported WebComponent export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export type RenderProps<F extends Fields> = {
    readonly [K in keyof Props<F>]-?: RefSubject.Computed<Props<F>[K]>;
};

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source