MDDatePicker
PROThe MDDatePicker
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 MDDatePicker
.
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 MDDatePicker from "components/MDDatePicker";
Props Information
Name | Type | Default | Description |
---|---|---|---|
input | object | {} | Used to pass all of the MDInput props for the MDDatePicker because it uses the MDInput as its base input. |
React Flatpickr Props | You can pass all of the react-flatpickr props for the MDDatePicker as well. |