mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 20:49:14 +08:00
✅ fix eslint
This commit is contained in:
parent
d72f825f43
commit
882225f65b
@ -6,6 +6,7 @@ export type DraggerProps = UploadProps & { height?: number };
|
|||||||
|
|
||||||
// stick class comoponent to avoid React ref warning inside Form
|
// stick class comoponent to avoid React ref warning inside Form
|
||||||
// https://github.com/ant-design/ant-design/issues/18707
|
// 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> {
|
export default class Dragger extends React.Component<DraggerProps, any> {
|
||||||
render() {
|
render() {
|
||||||
const { props } = this;
|
const { props } = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user