From 286538ff7115bafaadaab2a6e7e7dc43b7b0d6ff Mon Sep 17 00:00:00 2001 From: zombieJ Date: Sat, 10 Aug 2019 13:06:23 +0800 Subject: [PATCH] chore: update ts define (#18196) --- components/upload/Dragger.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/upload/Dragger.tsx b/components/upload/Dragger.tsx index 6d196889cd..a5abc14276 100644 --- a/components/upload/Dragger.tsx +++ b/components/upload/Dragger.tsx @@ -4,7 +4,7 @@ import { UploadProps } from './interface'; export type DraggerProps = UploadProps & { height?: number }; -const Dragger = (props: DraggerProps) => ( +const Dragger: React.FC = props => ( );