Descriptions

This plugin is developed specifically for the Range Picker and does not work properly in other modes.

Props

PropTypeDefault
positionString"right"
disabledBooleanfalse
formatStringFarsi & Arabic locale : "DD MMMM"
English & Indian locale : "MMMM DD"
namesObjectEnglish locale

{
  selectedDates: "Selected Dates:",
  from: "From:",
  to: "To:",
  selectDate: "Select Date",
  close: "Close",
  separator: "-",
}

Farsi locale
 
{
  selectedDates: "تاریخ انتخابی شما:",
  from: "از:",
  to: "تا:",
  selectDate: "انتخاب کنید",
  close: "بستن",
  separator: "-",
}

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: ",",
      }}
    />,
  ]}
/>