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

@cxing/date-selector

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cxing/date-selector

A React date selector control using Luxon

  • 0.0.32
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

DateSelector

Check out the documentation for more information.

The DateSelector is a simple React control for picking a date from a small calendar control. This can be embedded in your page, placed in a modal or popper control, whatever you like.

Installation and Usage

Simply install the package in your project:

npm i @cxing/date-selector

Then use it in your React template:

import DateSelector from '@cxing/date-selector';

All date values are expected to be Luxon DateTime objects. Luxon is the modern replacement for Moment.js, developed by the same team.

I18n, Timezones, and Browser Support

Because we're using Luxon, under the hood, you get full i18n and timezone support when you use the defaultDate prop (unless, of course, you're using IE). Make sure to read the rest of the documentation, where we give an example of this.

Keywords

FAQs

Package last updated on 24 May 2021

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