• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

AIPromptProps

The props of the AIPrompt component.

NameTypeDefaultDescription

activeView

string

Name of the active view.

children?

React.ReactNode

Specifies the AIPrompt children elements.

dir?

string

Represents the dir HTML attribute.

onActiveViewChange?

(name: string) => void

The onActiveViewChange event handler of the KendoReact AIPrompt component. Fires when active view is changed. Exposes the name of the new active view as event data.

onCommandExecute?

(command: CommandInterface) => void

The onCommandExecute event handler of the KendoReact AIPrompt component. Fires each time the user clicks a command in the Command view. Exposes the selected command as event data.

onPromptRequest?

(prompt?: string, outputItem?: AIPromptOutputInterface) => void

The onPromptRequest event handler of the KendoReact AIPrompt component. Fires when user clicks the Generate button in the Prompt view.

outputs?

AIPromptOutputInterface[]

The collection of generated prompt outputs that will be rendered in the Output view.

promptPlaceholder?

string

The placeholder text for the Prompt view textarea.

style?

React.CSSProperties

The styles that are applied to the component.

toolbarItems?

undefined[]

Collection with items that will override the default Toolbar items.