amis-rpc-design/node_modules/rc-picker/lib/hooks/usePresets.d.ts

3 lines
177 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import type { PresetDate } from '../interface';
export default function usePresets<T>(presets?: PresetDate<T>[], legacyRanges?: Record<string, T | (() => T)>): PresetDate<T>[];