• What is KendoReact
  • Getting Started
  • Unstyled Mode
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chart Wizardnew
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Toolsupdated
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDF Viewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheet
    • 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.