Descriptions
This plugin is developed specifically for the Range Picker and does not work properly in other modes.
Props
Prop | Type | Default |
---|---|---|
position | String | "right" |
disabled | Boolean | false |
format | String | Farsi & Arabic locale : "DD MMMM" English & Indian locale : "MMMM DD" |
names | Object | English locale
Farsi locale
|
Custom Names
import React from "react";
import { Calendar } from "react-multi-date-picker";
import Footer from "react-multi-date-picker/plugins/range_picker_footer";
.
.
.
<Calendar
range
numberOfMonths={2}
plugins={[
<Footer
position="bottom"
format="MMM DD"
names={{
selectedDates: "Flight information:",
from: "Departure date:",
to: "Return date:",
selectDate: "select",
close: "Close",
separator: ",",
}}
/>,
]}
/>