import React from 'react'; import Input from '../Input'; interface BaseMonthRangePickerProps { /** * 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; /** * Input 에 표시되는 값의 포맷을 지정한다. */ displayFormat?: string; /** * 월 이름 표시에 사용할 locale (예: 'en-US', 'ko-KR'). MMM/MMMM 토큰 사용 시 적용된다. */ locale?: string; } export type MonthRangePickerProps = BaseMonthRangePickerProps & Omit, 'onChange' | 'value' | 'defaultValue'>; declare const MonthRangePicker: React.ForwardRefExoticComponent & React.RefAttributes>; export { MonthRangePicker };