diff --git a/x-pack/legacy/plugins/grokdebugger/public/components/custom_patterns_input/custom_patterns_input.js b/x-pack/legacy/plugins/grokdebugger/public/components/custom_patterns_input/custom_patterns_input.js index 7f0b25e7e25af8..319ab1d64d5634 100644 --- a/x-pack/legacy/plugins/grokdebugger/public/components/custom_patterns_input/custom_patterns_input.js +++ b/x-pack/legacy/plugins/grokdebugger/public/components/custom_patterns_input/custom_patterns_input.js @@ -10,9 +10,8 @@ import { EuiCallOut, EuiCodeBlock, EuiFormRow, - EuiPanel, EuiCodeEditor, - EuiSpacer + EuiSpacer, } from '@elastic/eui'; import { EDITOR } from '../../../common/constants'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -24,51 +23,43 @@ MSG message-id=<%{GREEDYDATA}>`; return ( - )} + } data-test-subj="btnToggleCustomPatternsInput" > - - )} + } > - - { sampleCustomPatterns } - + {sampleCustomPatterns} - - - - + + ); diff --git a/x-pack/legacy/plugins/grokdebugger/public/components/event_input/event_input.js b/x-pack/legacy/plugins/grokdebugger/public/components/event_input/event_input.js index 3b283d7698ec42..16f9827b3b5204 100644 --- a/x-pack/legacy/plugins/grokdebugger/public/components/event_input/event_input.js +++ b/x-pack/legacy/plugins/grokdebugger/public/components/event_input/event_input.js @@ -5,41 +5,32 @@ */ import React from 'react'; -import { - EuiFormRow, - EuiPanel, - EuiCodeEditor -} from '@elastic/eui'; +import { EuiFormRow, EuiCodeEditor } from '@elastic/eui'; import { EDITOR } from '../../../common/constants'; import { FormattedMessage } from '@kbn/i18n/react'; export function EventInput({ value, onChange }) { return ( - )} + label={ + + } fullWidth data-test-subj="aceEventInput" > - - - + ); } diff --git a/x-pack/legacy/plugins/grokdebugger/public/components/event_output/event_output.js b/x-pack/legacy/plugins/grokdebugger/public/components/event_output/event_output.js index 72d2958c16b834..9b418aaad98309 100644 --- a/x-pack/legacy/plugins/grokdebugger/public/components/event_output/event_output.js +++ b/x-pack/legacy/plugins/grokdebugger/public/components/event_output/event_output.js @@ -5,39 +5,33 @@ */ import React from 'react'; -import { - EuiFormRow, - EuiPanel, - EuiCodeEditor -} from '@elastic/eui'; +import { EuiFormRow, EuiCodeEditor } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; export function EventOutput({ value }) { return ( - )} + } fullWidth data-test-subj="aceEventOutput" > - - - + ); } diff --git a/x-pack/legacy/plugins/grokdebugger/public/components/pattern_input/pattern_input.js b/x-pack/legacy/plugins/grokdebugger/public/components/pattern_input/pattern_input.js index 5e523e9b92d87d..37347b8be95e7e 100644 --- a/x-pack/legacy/plugins/grokdebugger/public/components/pattern_input/pattern_input.js +++ b/x-pack/legacy/plugins/grokdebugger/public/components/pattern_input/pattern_input.js @@ -5,11 +5,7 @@ */ import React from 'react'; -import { - EuiFormRow, - EuiPanel, - EuiCodeEditor -} from '@elastic/eui'; +import { EuiFormRow, EuiCodeEditor } from '@elastic/eui'; import { EDITOR } from '../../../common/constants'; import { GrokMode } from '../../lib/ace'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -17,30 +13,25 @@ import { FormattedMessage } from '@kbn/i18n/react'; export function PatternInput({ value, onChange }) { return ( - )} + label={ + + } fullWidth data-test-subj="acePatternInput" > - - - + ); }