import React , { FC , Fragment } from 'react' ; import { FormattedMessage } from '@kbn/i18n-react' ; import { AnomalyDetectionSettings } from './anomaly_detection_settings' ; import { HelpMenu } from '../components/help_menu' ; import { useMlKibana } from '../contexts/kibana' ; import { MlPageHeader } from '../components/page_header' ; export const Settings = ( ) => { const { services : { docLinks } , } = useMlKibana ( ) ; const helpLink = docLinks . links . ml . guide ; return ( < Fragment > < div data - test - subj = "mlPageSettings" > < MlPageHeader > < FormattedMessage id = "xpack.ml.settings.title" defaultMessage = "Settings" / > < /MlPageHeader> < AnomalyDetectionSettings / > < /div> < HelpMenu docLink = { helpLink } / > < /Fragment>); } ;