Interface: CreateOpenUiPromptLibraryOptions
Options for creating the headless OpenUI prompt library.
Extended by
Properties
componentGroups?
optionalcomponentGroups?:ComponentGroup[]
Additional groups, or the complete set when defaults are disabled.
componentNames?
optionalcomponentNames?: readonlystring[]
Limit built-ins to these names, retaining the selected root automatically. Custom components are always appended. Ignored when defaults are disabled.
Default Value
Example
components?
optionalcomponents?:OpenUiPromptComponent[]
Additional components, or the complete set when defaults are disabled.
includeDefaultComponents?
optionalincludeDefaultComponents?:boolean
Whether to include the built-in components and component groups.
Default Value
true
root?
optionalroot?:string
Root component name; supply its definition when defaults are disabled.
Default Value
'Stack'