Skip to content

Commit 2dd011d

Browse files
committed
Use rc-util Portal
1 parent 8f745b1 commit 2dd011d

File tree

3 files changed

+2
-38
lines changed

3 files changed

+2
-38
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@
6262
"prop-types": "15.x",
6363
"rc-align": "2.x",
6464
"rc-animate": "2.x",
65-
"rc-util": "4.x"
65+
"rc-util": "^4.1.0"
6666
}
6767
}

src/Portal.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import addEventListener from 'rc-util/lib/Dom/addEventListener';
77
import Popup from './Popup';
88
import { getAlignFromPlacement, getPopupClassNameFromAlign } from './utils';
99
import getContainerRenderMixin from 'rc-util/lib/getContainerRenderMixin';
10-
import Portal from './Portal';
10+
import Portal from 'rc-util/lib/Portal';
1111

1212
function noop() {
1313
}

0 commit comments

Comments
 (0)