import React, { type FC } from 'react' import type { YearAndMonthPickerOptionsProps } from '../types' import { useMonths, useYearOptions } from '../hooks' import OptionListItem from '../common/option-list-item' const Options: FC = ({ selectedMonth, selectedYear, handleMonthSelect, handleYearSelect, }) => { const months = useMonths() const yearOptions = useYearOptions() return (
{/* Month Picker */} {/* Year Picker */}
) } export default React.memo(Options)