API Reference

RangePreviewState

interface

State exposed by the RangePreview component (same shape as RangeSelectedState).

Defined in package/src/types.ts:772

PropTypeDefaultDescription
root*RootState—
active*boolean—
weekIndex*number—
startIndex*number—
endIndex*number—
startDate*string—
endDate*string—
extendsBefore*boolean—
extendsAfter*boolean—
hasStart*boolean—
hasEnd*boolean—
orientation*"horizontal" | "vertical"—