Add word wrap for the query explanation (#1634)
* Add word wrap for the query explanation * Update test snap
This commit is contained in:
parent
332554e21c
commit
9ad9f7bf51
|
@ -546,6 +546,7 @@ export const QueryCopilotTab: React.FC<QueryCopilotProps> = ({ explorer }: Query
|
|||
language={"sql"}
|
||||
content={query}
|
||||
isReadOnly={false}
|
||||
wordWrap={"on"}
|
||||
ariaLabel={"Editing Query"}
|
||||
lineNumbers={"on"}
|
||||
onContentChanged={(newQuery: string) => setQuery(newQuery)}
|
||||
|
|
|
@ -131,6 +131,7 @@ exports[`Query copilot tab snapshot test should render with initial input 1`] =
|
|||
lineNumbers="on"
|
||||
onContentChanged={[Function]}
|
||||
onContentSelected={[Function]}
|
||||
wordWrap="on"
|
||||
/>
|
||||
<QueryCopilotResults />
|
||||
</t>
|
||||
|
|
Loading…
Reference in New Issue