import React from 'react';
import PropTypes from 'prop-types';
import { Button, Form } from '@patternfly/react-core';
import { translate as __ } from 'foremanReact/common/I18n';
import { ScheduleType } from './ScheduleType';
import { RepeatOn } from './RepeatOn';
import { QueryType } from './QueryType';
import { StartEndDates } from './StartEndDates';
import { WIZARD_TITLES } from '../../JobWizardConstants';
import { WizardTitle } from '../form/WizardTitle';
const Schedule = ({ scheduleValue, setScheduleValue }) => {
const { repeatType, repeatAmount, starts, ends, isNeverEnds } = scheduleValue;
return (
<>