import React, { useMemo } from 'react' import { MonthsProps } from '../types' import CustomSelect from '../components/CustomSelect' import { DEFAULT_LOCALE_EN } from '../locale' import { classNames } from '../utils' import { UNITS } from '../constants' import { Group } from '@mantine/core' export default function Months(props: MonthsProps) { const { value, setValue, locale, className, humanizeLabels, disabled, readOnly, period, periodicityOnDoubleClick, mode, } = props const optionsList = locale.months || DEFAULT_LOCALE_EN.months const internalClassName = useMemo( () => classNames({ 'react-js-cron-field': true, 'react-js-cron-months': true, [`${className}-field`]: !!className, [`${className}-months`]: !!className, }), [className] ) return ( {/* {locale.prefixMonths !== '' && ( {locale.prefixMonths || DEFAULT_LOCALE_EN.prefixMonths} )} */} ) }