Skip to content

Commit 73473bd

Browse files
committed
chore: Move supportRef into rc-util
1 parent 9fac526 commit 73473bd

3 files changed

Lines changed: 2 additions & 11 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"dependencies": {
4242
"classnames": "^2.2.1",
43-
"rc-util": "^4.13.0",
43+
"rc-util": "^4.14.0",
4444
"resize-observer-polyfill": "^1.5.1"
4545
},
4646
"devDependencies": {

src/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import * as React from 'react';
22
import findDOMNode from 'rc-util/lib/Dom/findDOMNode';
33
import toArray from 'rc-util/lib/Children/toArray';
44
import warning from 'rc-util/lib/warning';
5-
import { composeRef } from 'rc-util/lib/ref';
5+
import { composeRef, supportRef } from 'rc-util/lib/ref';
66
import ResizeObserver from 'resize-observer-polyfill';
7-
import { supportRef } from './util';
87

98
const INTERNAL_PREFIX_KEY = 'rc-observer-key';
109

src/util.ts

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

0 commit comments

Comments
 (0)