1.1.4 • Published 1 year ago

datepicker-input-react v1.1.4

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

datepicker-input-react

Datepicker-input-react is a library based on create-react-library. This library return an input field who display a calendar when the input field is clicked, and return the selected date into input field.

Features include:

  • Displays days of previous and next month
  • Got a home button to reset date
  • Extends to 50 years before and after actual year

Install

npm i datepicker-input-react

Usage

import React from 'react'
import DatepickerInput from 'datepicker-input-react'
import 'datepicker-input-react/dist/index.css'

export default function DatepickerInputContainer({onChange}) {
  return (
    <DatepickerInput onChange={onChange}/>
  )
}

Props

onChange subscribe to date change

License

MIT © 2Bid

1.1.4

1 year ago

1.1.3

1 year ago

1.1.1

1 year ago

1.0.2

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.1.2

1 year ago

1.0.3

1 year ago

1.0.0

1 year ago

0.0.0

1 year ago

0.1.0

1 year ago