Skip to content

@sqlrooms/sql-editor / QueryResultPanelAskAiProps

Interface: QueryResultPanelAskAiProps

Properties

queryId?

optional queryId?: string

Query id to read the error/query from. Defaults to the selected query tab.


onClick?

optional onClick?: (query, error) => void

Called when clicked with the current query and error message

Parameters

ParameterType
querystring
errorstring

Returns

void


icon?

optional icon?: ReactNode

Custom icon (defaults to MessageCircleQuestion)


className?

optional className?: string

Custom className


tooltipContent?

optional tooltipContent?: string

Tooltip text to display on hover