import React , { FC } from 'react' ; import { EuiSpacer } from '@elastic/eui' ; import { AnomalyDetectionPanel } from './anomaly_detection_panel' ; import { AnalyticsPanel } from './analytics_panel' ; interface Props { createAnomalyDetectionJobDisabled : boolean ; createAnalyticsJobDisabled : boolean ; setAdLazyJobCount : React . Dispatch < React . SetStateAction < number > > ; setDfaLazyJobCount : React . Dispatch < React . SetStateAction < number > > ; } export const OverviewContent = ( { createAnomalyDetectionJobDisabled , createAnalyticsJobDisabled , setAdLazyJobCount , setDfaLazyJobCount , } ) => ( < > < AnomalyDetectionPanel jobCreationDisabled = { createAnomalyDetectionJobDisabled } setLazyJobCount = { setAdLazyJobCount } / > < EuiSpacer size = "m" / > < AnalyticsPanel jobCreationDisabled = { createAnalyticsJobDisabled } setLazyJobCount = { setDfaLazyJobCount } / > < />);