پراپ ها

پراپحالتپیش فرض
weekendsArrayمطابق با جدول پایین

آخر هفته تعریف شده پیشفرض

تقویمآخر هفته تعریف شده پیشفرض
gregorian[0, 6]
persian[6]
arabic[0, 6]
indian[0]

آخر هفته میلادی

import DatePicker from "react-multi-date-picker"
import weekends from "react-multi-date-picker/plugins/highlight_weekends"
.
.
.
<DatePicker
  plugins={[weekends()]}
  calendarPosition="bottom-right"
/> 

آخر هفته شمسی

import DatePicker from "react-multi-date-picker"
import weekends from "react-multi-date-picker/plugins/highlight_weekends"
import persian from "react-date-object/calendars/persian"
import persian_fa from "react-date-object/locales/persian_fa"
.
.
.
<DatePicker
  plugins={[weekends()]}
  calendar={persian}
  locale={persian_fa}
  calendarPosition="bottom-right"
/>  

آخر هفته با تنظیمات شخصی

import DatePicker from "react-multi-date-picker"
import weekends from "react-multi-date-picker/plugins/highlight_weekends"
import persian from "react-date-object/calendars/persian"
import persian_fa from "react-date-object/locales/persian_fa"
.
.
.
<DatePicker 
  plugins={[weekends([5, 6])]} 
  calendar={persian}
  locale={persian_fa}
  calendarPosition="bottom-right"
/>