Focused Dates

The React DatePicker component enables you to handle the configuration of the focused calendar dates.

The Calendar always displays a focused date and, by default, the focused date is today's date. To change the focused date, use the focusedDate property by setting it to a specific Date value. The Date value has to be a valid JavaScript Date object.

class App extends React.Component {
    render() {
            <DatePicker focusedDate={new Date(1997, 2, 20)}/>
    <App />,