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

react-date-fns

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-date-fns - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json

@@ -10,3 +10,3 @@ {

"private": false,
"version": "1.2.0",
"version": "1.2.1",
"type": "module",

@@ -13,0 +13,0 @@ "license": "MIT",

@@ -21,3 +21,3 @@ # ReactDateFns Package

import React from "react";
import { DateDisplay, DateSelect, CountdownTimer } from "react-date-fns";
import { DateDisplay, CountdownTimer } from "react-date-fns";

@@ -34,8 +34,2 @@ const App = () => {

</DateDisplay>
<DateSelect
className="date-select-class"
pattern="MM/dd/yyyy"
onDateChange={handleDateChange}
showSelectedDate
/>
<CountdownTimer

@@ -60,11 +54,2 @@ className="countdown-class"

### DateSelect Props
The `DateSelect` component accepts the following props:
- `className` (`string`, optional): Additional CSS classes to apply to the container element.
- `pattern` (`string`): The format pattern to use for displaying the selected date.
- `onDateChange` (`function`, optional): Callback function to handle date changes.
- `showSelectedDate` (`boolean`, optional): Whether to display the selected date. Defaults to `true`.
### CountdownTimer Props

@@ -71,0 +56,0 @@

export { CountdownTimer } from './CountdownTimer';
export { DateDisplay } from './DateDisplay';
export { DateSelect } from './DateSelect';
export { DateDisplay } from './DateDisplay';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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