UNPKG

press-element-plus

Version:
15 lines (13 loc) 311 B
import { createDateRangeShortcuts as create } from 'press-shared'; export function createDateRangeShortcuts() { const shortcuts = create(); return shortcuts.map(function (item) { const { value, ...rest } = item; return { ...rest, value() { return value; } }; }); }