import React from 'react'; import Input from '../Input'; interface BaseMonthPickerProps { /** * NOTE: 빈 값으로 시작하는 controlled 필드는 `undefined`가 아니라 `null`을 넘겨야 한다. * `undefined`를 넘기면 마운트 시점에 uncontrolled로 판정되어 이후 외부에서의 값 변경이 반영되지 않는다. */ value?: string | null; defaultValue?: string; onChange?: (event: { target: { name?: string; value: string; }; }) => void; name?: string; disabled?: boolean; required?: boolean; label?: React.ReactNode; error?: boolean; helperText?: React.ReactNode; minDate?: string; maxDate?: string; disableFuture?: boolean; disablePast?: boolean; format?: string; displayFormat?: string; locale?: string; /** Prevents typing while allowing calendar selection from the input or calendar button. */ inputReadOnly?: boolean; } export type MonthPickerProps = BaseMonthPickerProps & Omit, 'onChange' | 'value' | 'defaultValue'>; declare const MonthPicker: React.ForwardRefExoticComponent & React.RefAttributes>; export { MonthPicker };