0.8.0-alpha.112 • Published 1 year ago
@blaze-react/date-range
Licence
GPL-3.0
Version
0.8.0-alpha.112
Deps
0
Size
3.2 MB
Vulns
0
Weekly
0
Description
DateRange component allows you to select a date range among several options.
custom range
<DateRange onChange={({ selectedDate: { from, to } }) => {}} custom />
select option
<DateRange onChange={({ selectedDate }) => {}} />
API
DateRange can receive a number of props as follow:
| NAME | TYPE | DEFAULT |
|---|---|---|
| custom | boolean | false |
| onChange | Function | ({selectedDate}) => {} |