Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-multi-date-picker

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-multi-date-picker

a simple React datepicker component for work with gregorian, persian, arabic and indian calendars

  • 1.7.5
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

DatePicker

DatePicker

Installation

npm install --save react-multi-date-picker

Usage

import React from "react";
import DatePicker from "react-multi-date-picker";

export default function Example() {
  return <DatePicker />;
}

Demo

https://shahabyazdi.github.io/react-multi-date-picker

Availble props

NameTypeDefaultAvailability (DatePicker/ Calendar)
valueDate, DateObject, String, Number or Arraynew Date()both
multipleBooleanfalse (true if value is Array)both
rangeBooleanfalseboth
timePickerBooleanfalseboth
onlyTimePickerBooleanfalseboth
onlyMonthPickerBooleanfalseboth
onlyYearPickerBooleanfalseboth
mustShowDatesBooleanfalse (true in multiple & range mode)both
formatStringYYYY/MM/DDboth
formattingIgnoreListArrayundefinedboth
localStringenboth
calendarStringgregorianboth
mapDaysFunctionundefinedboth
onChangeFunctionundefinedboth
classNameString""both
weekDaysArrayundefinedboth
monthsArrayundefinedboth
showOtherDaysBooleantrueboth
minDateDate, DateObject, String or Numberundefinedboth
maxDateDate, DateObject, String or Numberundefinedboth
disableYearPickerBooleanundefinedboth
disableMonthPickerBooleanundefinedboth
animationBooleanfalseDatePicker
inputClassString""DatePicker
nameString""DatePicker
styleObject{}DatePicker
typeStringinputDatePicker
renderReact.Component or FunctionundefinedDatePicker
disabledBooleanfalseDatePicker
placeholderString""DatePicker
inputModeStringundefinedDatePicker
scrollSensitiveBooleantrueDatePicker
hideOnScrollBooleanfalseDatePicker
calendarPositionStringautoDatePicker
containerStyleObjectundefinedDatePicker
containerClassNameStringundefinedDatePicker

Calendars and Locals

CalendarsLocals
gregorian (default)en (default)
persianfa
arabicar
indianhi

Types

DatePicker Types
input (default)input-iconiconbuttoncustom

Keywords

FAQs

Package last updated on 01 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc