Variable DATE_RANGE_PRESETSConst
DATE_RANGE_PRESETS: {
last30Days: {
getValue: () => { from: string; to: string };
label: "Last 30 days";
};
last7Days: {
getValue: () => { from: string; to: string };
label: "Last 7 days";
};
today: { getValue: () => { from: string; to: string }; label: "Today" };
} = ...
Type Declaration
Readonlylast30Days: { getValue: () => { from: string; to: string }; label: "Last 30 days" }
Readonlylast7Days: { getValue: () => { from: string; to: string }; label: "Last 7 days" }
Readonlytoday: { getValue: () => { from: string; to: string }; label: "Today" }
Built-in
MultiFilterMenudate range presets, keyed by id so consumers can pick and compose them (e.g.[DATE_RANGE_PRESETS.today, myPreset]).