MKDatePicker

PRO

The 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 MKDatePicker.


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.

Demo

// Material Dashboard 2 PRO React Components import MKDatePicker from "components/MKDatePicker";

Props Information

NameTypeDefaultDescription
inputobject{}Used to pass all of the MKInput props for the MKDatePicker because it uses the MKInput as its base input.
React Flatpickr PropsYou can pass all of the react-flatpickr props for the MKDatePicker as well.
Contents