@sqlrooms/sql-editor / QueryResultPanelAskAiProps
Interface: QueryResultPanelAskAiProps
Properties
queryId?
optionalqueryId?:string
Query id to read the error/query from. Defaults to the selected query tab.
onClick?
optionalonClick?: (query,error) =>void
Called when clicked with the current query and error message
Parameters
| Parameter | Type |
|---|---|
query | string |
error | string |
Returns
void
icon?
optionalicon?:ReactNode
Custom icon (defaults to MessageCircleQuestion)
className?
optionalclassName?:string
Custom className
tooltipContent?
optionaltooltipContent?:string
Tooltip text to display on hover