RenderSpecProps

Unpublished development API. This package is under development and is not available as a published release.

Supplies a nullable render tree, component registry, state and computed functions, plus loading state and a fallback component.

import type { RenderSpecProps } from '@threadplane/react/render';

Declaration

export interface RenderSpecProps  {
  readonly fallback?: ComponentType<RenderViewProps>;
  readonly functions?: ReactRenderFunctions;
  readonly loading?: boolean;
  readonly registry: ReactRenderRegistry;
  readonly spec: RenderSpecData | null;
  readonly state?: DeepReadonly<Record<string, unknown>>;
}

Members

fallback

readonly fallback?: ComponentType<RenderViewProps>;

functions

readonly functions?: ReactRenderFunctions;

loading

readonly loading?: boolean;

registry

readonly registry: ReactRenderRegistry;

spec

readonly spec: RenderSpecData | null;

state

readonly state?: DeepReadonly<Record<string, unknown>>;