MKDatePicker
PROThe 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
Name | Type | Default | Description |
---|---|---|---|
input | object | {} | 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. |