@coveo/headless-react
    Preparing search index...

    Interface DateRangeOptions

    interface DateRangeOptions {
        dateFormat?: string;
        end: DateRangeInput;
        endInclusive?: boolean;
        start: DateRangeInput;
        state?: FacetValueState;
    }
    Index

    Properties

    dateFormat?: string

    Allows specifying a custom string date format. See Day.js for possible parsing tokens. Assumes ISO 8601 format by default.

    The ending value for the date range. A date range can be either absolute or relative.

    endInclusive?: boolean

    Whether to include the end value in the range.

    false

    The starting value for the date range. A date range can be either absolute or relative.

    The current facet value state.

    idle