mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
Fix style prop of Upload.Dragger
This commit is contained in:
parent
8a1c875123
commit
335eb0c246
@ -7,6 +7,6 @@ export type DraggerProps = UploadProps & { height?: number };
|
||||
export default class Dragger extends React.Component<DraggerProps, any> {
|
||||
render() {
|
||||
const { props } = this;
|
||||
return <Upload {...props} type="drag" style={{ height: props.height }}/>;
|
||||
return <Upload {...props} type="drag" style={{ ...props.style, height: props.height }}/>;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user