mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
chore: update ts define (#18196)
This commit is contained in:
parent
729744be9c
commit
286538ff71
@ -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 }} />
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user