1.0.12 • Published 8 months ago

datepicker-benoitmouly v1.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months 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

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago