@yarcl/react
    Preparing search index...

    Interface DateRange

    A date range picked with a DatePicker in mode="range". to is null while only the start is picked.

    interface DateRange {
        from: Date;
        to: Date | null;
    }
    Index
    from: Date

    First day of the range.

    to: Date | null

    Last day of the range, or null until the second day is picked.