react-date-picker
Version:
A date picker for your React app.
9 lines (8 loc) • 320 B
TypeScript
import Input from './Input.js';
type MonthInputProps = {
maxDate?: Date;
minDate?: Date;
year?: string | null;
} & Omit<React.ComponentProps<typeof Input>, 'max' | 'min' | 'name'>;
export default function MonthInput({ maxDate, minDate, year, ...otherProps }: MonthInputProps): React.ReactElement;
export {};