File tree Expand file tree Collapse file tree
x-pack/plugins/uptime/public/components/overview/kuery_bar/typeahead/search_type Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88import React , { useEffect , useState } from 'react' ;
99import {
10- EuiIcon ,
1110 EuiPopover ,
1211 EuiFormRow ,
1312 EuiSwitch ,
@@ -16,6 +15,7 @@ import {
1615 EuiText ,
1716 EuiSpacer ,
1817 EuiLink ,
18+ EuiButtonIcon ,
1919} from '@elastic/eui' ;
2020import { FormattedMessage } from '@kbn/i18n/react' ;
2121import { i18n } from '@kbn/i18n' ;
@@ -28,7 +28,7 @@ import {
2828 SYNTAX_OPTIONS_LABEL ,
2929} from '../translations' ;
3030
31- const BoxesVerticalIcon = euiStyled ( EuiIcon ) `
31+ const BoxesVerticalIcon = euiStyled ( EuiButtonIcon ) `
3232 padding: 10px 8px 0 8px;
3333 border-radius: 0;
3434 height: 38px;
@@ -80,7 +80,8 @@ export const SearchType = ({ kqlSyntax, setKqlSyntax }: Props) => {
8080 </ EuiButtonEmpty >
8181 ) : (
8282 < BoxesVerticalIcon
83- type = "boxesVertical"
83+ color = "text"
84+ iconType = "boxesVertical"
8485 onClick = { onButtonClick }
8586 data-test-subj = "syntaxChangeToKql"
8687 aria-label = { CHANGE_SEARCH_BAR_SYNTAX }
You can’t perform that action at this time.
0 commit comments