import React from 'react' ; import { EuiTableRow , EuiTableHeaderCell } from '@elastic/eui' ; import { i18n } from '@kbn/i18n' ; export const TextFieldsHeader = ( ) => { return ( < > < EuiTableRow className = "resultSettingsTable__subHeader" > < EuiTableHeaderCell align = "left" > { i18n . translate ( 'xpack.enterpriseSearch.appSearch.engine.resultSettings.table.column.textFieldsTitle' , { defaultMessage : 'Text fields' } ) } < /EuiTableHeaderCell> { } < EuiTableHeaderCell align = "center" > { i18n . translate ( 'xpack.enterpriseSearch.appSearch.engine.resultSettings.table.column.rawTitle' , { defaultMessage : 'Raw' } ) } < /EuiTableHeaderCell> < EuiTableHeaderCell align = "center" width = "115" > { i18n . translate ( 'xpack.enterpriseSearch.appSearch.engine.resultSettings.table.column.maxSizeTitle' , { defaultMessage : 'Max size' } ) } < /EuiTableHeaderCell> < EuiTableHeaderCell align = "center" > { i18n . translate ( 'xpack.enterpriseSearch.appSearch.engine.resultSettings.table.column.snippetTitle' , { defaultMessage : 'Snippet' } ) } < /EuiTableHeaderCell> < EuiTableHeaderCell align = "center" > { i18n . translate ( 'xpack.enterpriseSearch.appSearch.engine.resultSettings.table.column.fallbackTitle' , { defaultMessage : 'Fallback' } ) } < /EuiTableHeaderCell> < EuiTableHeaderCell align = "center" width = "115" > { i18n . translate ( 'xpack.enterpriseSearch.appSearch.engine.resultSettings.table.column.maxSizeTitle' , { defaultMessage : 'Max size' } ) } < /EuiTableHeaderCell> < /EuiTableRow> < />); } ;