hashbrown

markdownComponent

The Markdown component's contract with the model: its name, description and streaming children prop.

exposeMarkdown builds from it in the browser. On a server, pass it to createUiJsonSchema with your other component definitions to build the same response schema the browser sends, so the server can pin it.

API

export declare function markdownComponent(
  options?:  MarkdownComponentOptions ,
):  UiComponentDefinition; 
markdownComponent
@optionaloptions:

The same name, description and citations you pass to exposeMarkdown.