0.3.0 • Published 1 year ago

react-ymd-date-select v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-ymd-date-select

Test and Build npm npm bundle size NPM

Hooks and components for Y-M-D dropdowns with React. Demo

npm.io

The Y-M-D dropdown UI is sometimes preferable to calendar widgets, e.g. birth date selection.

Building Y-M-D looks simple, but actually, there are some nuts;

  • Generating the arrays of year, month, and day numbers and strings.
  • Validating combinations of the Y-M-D values.
  • Combining the 3 values from the dropdowns into one date value, and integrating it with the form component state.

This library manages these things.

Installation

With npm:

npm install react-ymd-date-select

With Yarn:

yarn add react-ymd-date-select

API & Samples

Please see the demo page for the guide and samples.

Support the project

ko-fi

GitHub Sponsors

0.3.0

1 year ago

0.2.0

2 years ago

0.0.12

2 years ago

0.1.0

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago