1.24.0 • Published 4 years ago
@schibstedspain/sui-form-range-datepicker v1.24.0
FormRangeDatepicker
@schibstedspain/sui-form-range-datepicker
A React component that show a date range. You can select a start date and end date. When press the button, you get the date range between the dates.
This component use npm component: react-datepicker.
Installation
npm install @schibstedspain/sui-form-range-datepicker --save
Usage
import FormRangeDatepicker from '@schibstedspain/sui-form-range-datepicker'
function handleClick (range) {
console.log('handleClick', range)
}
function handleChangeStart (date) {
console.log('handleChangeStart', date)
}
function handleChangeEnd (date) {
console.log('handleChangeEnd', date)
}
<FormRangeDatepicker buttonLabel='Test' handleClickButton={handleClick} handleChangeStart={handleChangeStart} handleChangeEnd={handleChangeEnd} />
1.24.0
4 years ago
1.23.0
5 years ago
1.22.0
6 years ago
1.21.0
6 years ago
1.20.0
6 years ago
1.19.0
6 years ago
1.18.0
6 years ago
1.17.0
6 years ago
1.16.0
6 years ago
1.15.0
6 years ago
1.14.0
6 years ago
1.13.0
6 years ago
1.12.0
6 years ago
1.11.0
6 years ago
1.10.0
6 years ago
1.9.0
6 years ago
1.8.0
7 years ago
1.7.0
7 years ago
1.4.0
7 years ago
1.3.0
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago