Skip to content

Commit 4fab4c4

Browse files
authored
chore: fix allowSyntheticDefaultImports define (#209)
1 parent 7747db5 commit 4fab4c4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Popup/useStretchStyle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import * as React from 'react';
22
import { StretchType } from '../interface';
33

44
export default (

src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { HTMLAttributes } from 'react';
1+
import * as React from 'react';
2+
import { HTMLAttributes } from 'react';
23
import ReactDOM from 'react-dom';
34
import raf from 'rc-util/lib/raf';
45
import contains from 'rc-util/lib/Dom/contains';

0 commit comments

Comments
 (0)