1.0.12 • Published 2 years ago

datepicker-benoitmouly v1.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

DatePicker-BenoitMouly REACT

This custom react datepicker could be useful for having a customizable datepicker, instead of having heavy libraries or traditionnal datepicker given by navigator.

Available Scripts

In the project directory, you can run:

npm install datepicker-benoitmouly

It installs needed depedencies

Usage

import DatePickerCustom from "datepicker-benoitmouly";

const [dateofbirth, setBirth] = useState("");

<DatePickerCustom label='Date de début de contrat' getDate={setBirth} className="startdate" />
  • ' getDate ', function. It could be a validator or a useState. Required.
  • ' label ', string. Optionnal.
  • ' className', string. Optionnal.

Stylizing

You can stylize it with their classes directly from the node modules. We prefered to give a basis of CSS to not interfer with your css rules.

Depedencies

dayjs, react


NPM version : 9.5.0

Latest test :

  • dayjs 1.11.9
  • react 18.2.0

forthebadge forthebadge

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago