We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9433f3d commit fbfa751Copy full SHA for fbfa751
src/PickerInput/Popup/PresetPanel.tsx
@@ -2,7 +2,7 @@ import * as React from 'react';
2
import type { ValueDate } from '../../interface';
3
import moment from 'moment';
4
5
-export interface PresetPanelProps<ValueType = any> {
+export interface PresetPanelProps<ValueType = any, DateType extends object = any> {
6
prefixCls: string;
7
presets: ValueDate<ValueType>[];
8
onClick: (value: ValueType) => void;
0 commit comments