We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d52612e + 66a6c7a commit ae2b39aCopy full SHA for ae2b39a
README.md
@@ -39,7 +39,7 @@ import "react-datepicker/dist/react-datepicker.css";
39
const Example = () => {
40
const [startDate, setStartDate] = useState(new Date());
41
return (
42
- <DatePicker selected={startDate} onChange={(date:Date) => setStartDate(date)} />
+ <DatePicker selected={startDate} onChange={(date) => setStartDate(date)} />
43
);
44
};
45
```
0 commit comments