Skip to content

Commit 1751e6b

Browse files
committed
chore: fix allowSyntheticDefaultImports define
ref ant-design/ant-design#26484
1 parent 253b7bd commit 1751e6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CSSMotion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable react/default-props-match-prop-types, react/no-multi-comp, react/prop-types */
2-
import React from 'react';
2+
import * as React from 'react';
33
import findDOMNode from 'rc-util/lib/Dom/findDOMNode';
44
import { fillRef } from 'rc-util/lib/ref';
55
import classNames from 'classnames';

src/CSSMotionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint react/prop-types: 0 */
2-
import React from 'react';
2+
import * as React from 'react';
33
import OriginCSSMotion, { CSSMotionProps } from './CSSMotion';
44
import { supportTransition } from './util/motion';
55
import {

0 commit comments

Comments
 (0)