Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
react-multi-date-picker
Advanced tools
a simple React datepicker component for work with gregorian, persian, arabic and indian calendars
npm install --save react-multi-date-picker
import react from "react";
import DatePicker from "react-multi-date-picker";
export default function Example() {
return <DatePicker />;
}
https://shahabyazdi.github.io/react-multi-date-picker
Name | Type | Default | Availability (DatePicker/ Calendar) |
---|---|---|---|
value | Date, DateObject, String, Number or Array | new Date() | both |
multiple | Boolean | false (true if value is Array) | both |
range | Boolean | false | both |
timePicker | Boolean | false | both |
onlyTimePicker | Boolean | false | both |
onlyMonthPicker | Boolean | false | both |
onlyYearPicker | Boolean | false | both |
mustShowDates | Boolean | false (true in multiple & range mode) | both |
format | String | YYYY/MM/DD | both |
local | String | en | both |
calendar | String | gregorian | both |
onChange | Function | undefined | both |
className | String | "" | both |
weekDays | Array | undefined | both |
months | Array | undefined | both |
showOtherDays | Boolean | true | both |
inputClass | String | "" | DatePicker |
name | String | "" | DatePicker |
style | Object | {} | DatePicker |
type | String | input | DatePicker |
render | React.Component or Function | undefined | DatePicker |
disabled | Boolean | false | DatePicker |
placeholder | String | "" | DatePicker |
inputMode | String | undefined | DatePicker |
Calendars | Locals |
---|---|
gregorian (default) | en (default) |
persian | fa |
arabic | ar |
indian | hi |
DatePicker Types | ||||
---|---|---|---|---|
input (default) | input-icon | icon | button | custom |
FAQs
A simple React datepicker component for working with gregorian, persian, arabic and indian calendars with the ability to select the date by single, multiple, range and multiple range pickers.
The npm package react-multi-date-picker receives a total of 56,712 weekly downloads. As such, react-multi-date-picker popularity was classified as popular.
We found that react-multi-date-picker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.