method

FieldAuthoringHost.schemaHeader

Render the block-name input and field feedback, without the card chrome. Uses the item's schema, access, visibility and stable identity. An open draft locks the card input. Hidden or unreadable names render no control.

Arguments

ArgumentTypeDescription
args[EmbeddedSchemaHeaderProps]The args value.

Returns

The declared result.

{ '{@render ...} must be called with a Snippet': "import type { Snippet } from 'svelte'"; } & unique symbol

Full signature

FieldAuthoringHost.schemaHeader( this: void, args_0: EmbeddedSchemaHeaderProps, ): { "{ @render ... } must be called with a Snippet": "import type { Snippet } from 'svelte'" } & typeof SnippetReturn

Source packages/plugin/src/lib/authoring.ts:209

Related types