Threadplane
Pricing
Talk to Us
@threadplane/chatTypeAliasv0.3.4

ViewProps

Reverse helper: derive a component's input prop types FROM a schema, so a component authored straight from the schema is guaranteed compatible.

View sourceView Markdown
import type { ViewProps } from '@threadplane/chat';

Declaration

export type ViewProps<S extends StandardSchemaV1> = Prettify<StandardSchemaInferOutput<S>>;

Type parameters

S
StandardSchemaV1