chore: update ts define (#18196)

This commit is contained in:
zombieJ 2019-08-10 13:06:23 +08:00 committed by GitHub
parent 729744be9c
commit 286538ff71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import { UploadProps } from './interface';
export type DraggerProps = UploadProps & { height?: number };
const Dragger = (props: DraggerProps) => (
const Dragger: React.FC<DraggerProps> = props => (
<Upload {...props} type="drag" style={{ ...props.style, height: props.height }} />
);