DateRangePicker
uitemplate
calendar date range selector widget
Terminal
$termuijs render date-range-picker
Installation
$ bunx termuijs add date-range-picker
Copies the source into src/components/date-range-picker/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { DateRangePicker } from '@termuijs/ui'ts
new DateRangePicker(options: DateRangePickerOptions = {})API Reference
DateRangePicker
| Prop | Type | Required | Description |
|---|---|---|---|
value | Partial<DateRange> | optional | — |
onChange | (range: Partial<DateRange>) => void | optional | — |