amis-rpc-design/node_modules/rc-picker/es/PresetPanel.d.ts

10 lines
327 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import * as React from 'react';
import type { PresetDate } from './interface';
export interface PresetPanelProps<T> {
prefixCls: string;
presets: PresetDate<T>[];
onClick: (value: T) => void;
onHover?: (value: T) => void;
}
export default function PresetPanel<T>(props: PresetPanelProps<T>): React.JSX.Element;