Skip to content

@sqlrooms/ai-core / BlockAiPromptPopoverProps

Type Alias: BlockAiPromptPopoverProps ​

BlockAiPromptPopoverProps = object

Properties ​

trigger ​

trigger: ReactNode


onSubmit ​

onSubmit: (prompt) => void

Parameters ​

ParameterType
promptstring

Returns ​

void


placeholder? ​

optional placeholder?: string


label? ​

optional label?: string


isRunning? ​

optional isRunning?: boolean


disabled? ​

optional disabled?: boolean


open? ​

optional open?: boolean


onOpenChange? ​

optional onOpenChange?: (open) => void

Parameters ​

ParameterType
openboolean

Returns ​

void