import { useField } from 'formik'; import { FormControl } from '@@/form-components/FormControl'; import { Select } from '@@/form-components/Input'; export const defaultCronExpression = '0 * * * *' as const; export const timeOptions = [ { label: 'Every hour', value: defaultCronExpression, }, { label: 'Every 2 hours', value: '0 */2 * * *', }, { label: 'Every day', value: '0 0 * * *', }, ] as const; export function RecurringFieldset() { const [{ value, onChange, name, onBlur }, { error }] = useField('recurringOption'); return (