
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-alldate-picker
Advanced tools
A date picker for your React app.
npm react-alldate-picker
import React, { useState } from "react";
import { DatePicker } from "react-alldate-picker";
const Test = () => {
const [value, setValue] = useState(new Date())
const handleOnChange = (timestamp) => {
console.log("timestamp", timestamp)
}
return (
<div>
<DatePicker
onChange={handleOnChange}
value={value}
/>
</div>
)
}
export default Test
| Prop name | Description | Default value | Example values |
|---|---|---|---|
| onChange | Function called when the user picks a valid date. | n/a | (timestamp) => console.log(timestamp) |
| minDate | Minimum date that the user can select. Periods partially overlapped by minDate will also be selectable. | new Date("0001-01-01") | Date: new Date() |
| maxDate | Maximum date that the user can select. Periods partially overlapped by maxDate will also be selectable. | new Date("9999-12-31") | Date: new Date() |
| value | Input value. | n/a | Date: new Date(2023, 12, 08) |
| icon | Content of the calendar button. Setting the value explicitly to null will hide the icon. | (default icon) | React element: |
| footer | footer of the calendar. Setting the value explicitly to null will hide the footer. | (default footer) | React element: |
| onClose | Function called when the user closed the picker. | n/a | () => console.log("onClose") |
| placeholder | placeholder for the day input. | "selecte date" | "select" |
FAQs
A date picker for your React app.
The npm package react-alldate-picker receives a total of 0 weekly downloads. As such, react-alldate-picker popularity was classified as not popular.
We found that react-alldate-picker demonstrated a not healthy version release cadence and project activity because the last version was released 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.