antd
Version:
An enterprise-class UI design language and React components implementation
12 lines (11 loc) • 415 B
TypeScript
import * as React from 'react';
import type { UploadProps } from './interface';
import type { UploadRef } from './Upload';
export type DraggerProps<T = any> = UploadProps<T> & {
height?: number;
};
type DraggerType = (<T = any>(props: DraggerProps<T> & React.RefAttributes<UploadRef<T>>) => React.ReactElement | null) & {
displayName?: string;
};
declare const Dragger: DraggerType;
export default Dragger;