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.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60K
decreased by-11.04%
Maintainers
1
Weekly downloads
 
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
localStringenboth
calendarStringgregorianboth
onChangeFunctionundefinedboth
classNameString""both
weekDaysArrayundefinedboth
monthsArrayundefinedboth
showOtherDaysBooleantrueboth
inputClassString""DatePicker
nameString""DatePicker
styleObject{}DatePicker
typeStringinputDatePicker
renderReact.Component or FunctionundefinedDatePicker
disabledBooleanfalseDatePicker
placeholderString""DatePicker
inputModeStringundefinedDatePicker

Calendars and Locals

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

Types

DatePicker Types
input (default)input-iconiconbuttoncustom

Keywords

FAQs

Package last updated on 04 Nov 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