Type Alias: Selection<T>
Selection<
T
>: {isSelected
: (date
) =>boolean
;select
:SelectHandler
<T
> |undefined
;selected
:SelectedValue
<T
> |undefined
; }
Type Parameters
Type Parameter |
---|
T extends DayPickerProps |
Type declaration
Name | Type | Description |
---|---|---|
isSelected | (date ) => boolean | Whether the given date is selected. |
select | SelectHandler <T > | undefined | Set a selection. |
selected | SelectedValue <T > | undefined | The selected date(s). |