import React , { FC } from 'react' ; import { EuiButton , EuiFlexGroup , EuiFlexItem } from '@elastic/eui' ; import { i18n } from '@kbn/i18n' ; const continueButtonText = i18n . translate ( 'xpack.ml.dataframe.analytics.creation.continueButtonText' , { defaultMessage : 'Continue' , } ) ; export const ContinueButton = ( { isDisabled , onClick , } ) => ( < EuiFlexGroup > < EuiFlexItem grow = { false } > < EuiButton data - test - subj = "mlAnalyticsCreateJobWizardContinueButton" isDisabled = { isDisabled } size = "s" onClick = { onClick } > { continueButtonText } < /EuiButton> < /EuiFlexItem> < /EuiFlexGroup>);