import * as React from 'react' ; import { EuiButton } from '@elastic/eui' ; export interface ButtonSubmitProps { disabled ? : boolean ; onClick : ( ) => void ; } export const ButtonSubmit = ( { disabled , onClick , children } ) => { return ( < EuiButton fill isDisabled = { disabled } data - test - subj = { 'drilldownWizardSubmit' } onClick = { onClick } > { children } < /EuiButton>); } ;