You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/upload/Dragger.tsx

12 lines
326 B
TypeScript

import * as React from 'react';
import Upload from './Upload';
import { UploadProps } from './interface';
export type DraggerProps = UploadProps & { height?: number };
const Dragger = (props: DraggerProps) => (
<Upload {...props} type="drag" style={{ ...props.style, height: props.height }} />
);
export default Dragger;