MKDatePicker component helps you to simply create a beautiful date picker. It uses react-flatpickr in base and you can use all of its props for
The below codes are editable and you can modify them the way you want directly from your browser, please use the green button or the ctrl + s to save the changes.
// Material Dashboard 2 PRO React Components import MKDatePicker from "components/MKDatePicker";
|Used to pass all of the
MKInput props for the
MKDatePicker because it uses the
MKInput as its base input.
|React Flatpickr Props
|You can pass all of the react-flatpickr props for the
MKDatePicker as well.