fix eslint

This commit is contained in:
afc163 2019-09-17 14:49:34 +08:00
parent d72f825f43
commit 882225f65b

View File

@ -6,6 +6,7 @@ export type DraggerProps = UploadProps & { height?: number };
// stick class comoponent to avoid React ref warning inside Form
// https://github.com/ant-design/ant-design/issues/18707
// eslint-disable-next-line react/prefer-stateless-function
export default class Dragger extends React.Component<DraggerProps, any> {
render() {
const { props } = this;