AIPromptPropsPremium
Props of the AIPrompt component.
Name | Type | Default | Description |
---|---|---|---|
activeView |
|
Sets the name of the jsx
| |
children? |
|
Custom content rendered inside the component. jsx
| |
dir? |
|
Text direction of the component. jsx
| |
loading? |
|
Indicates loading state of the prompt. jsx
| |
onActiveViewChange? |
|
Fires when the active view changes. Provides the new view name. jsx
| |
onCancel? |
|
Fires when the prompt is canceled. jsx
| |
onCommandExecute? |
|
Fires when a command is executed. jsx
| |
onPromptRequest? |
|
Fires when a prompt is requested. Provides the prompt and optional target output. jsx
| |
outputs? |
|
Output items generated from prompts. jsx
| |
promptPlaceholder? |
|
Placeholder text for the prompt input. jsx
| |
streaming? |
|
Indicates streaming state of the prompt. jsx
| |
style? |
|
Inline styles for the root element. jsx
| |
suggestionsView? |
|
Optionally specifies the rendering for the suggestions displayed in the AI Prompt component. | |
toolbarItems? |
|
Items rendered in the toolbar.
The items rendered in the toolbar. the jsx
|