You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
364 B
13 lines
364 B
8 years ago
|
import React from 'react';
|
||
|
import Upload from './Upload';
|
||
|
import { UploadProps } from './interface';
|
||
|
|
||
|
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 }}/>;
|
||
|
}
|
||
|
}
|