InputCalendar allows you to pick up a month and an associated year.
Uncontrolled component:
<InputMonth onChange={date => console.log(date)} />
Controlled component:
const Example = () => {
const [date, setDate] = useState(new Date())
return <InputMonth value={date} onChange={date => setDate({ date })} />
}
render(<Example />)