Skip to content
providerkit
GitHub

DataPart

Defined in: react/src/protocol.ts:251

A card of the app’s own, in reading order. The client draws it with the renderer the app registered for kind, and draws nothing for a kind it has no renderer for.

data: unknown;

Defined in: react/src/protocol.ts:256

Host-authored JSON. Passed through as it is: never validated here, never copied.


id: string;

Defined in: react/src/protocol.ts:253


kind: string;

Defined in: react/src/protocol.ts:254


type: "data";

Defined in: react/src/protocol.ts:252