We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
supportRef
rc-util
1 parent 9fac526 commit 73473bdCopy full SHA for 73473bd
3 files changed
package.json
@@ -40,7 +40,7 @@
40
},
41
"dependencies": {
42
"classnames": "^2.2.1",
43
- "rc-util": "^4.13.0",
+ "rc-util": "^4.14.0",
44
"resize-observer-polyfill": "^1.5.1"
45
46
"devDependencies": {
src/index.tsx
@@ -2,9 +2,8 @@ import * as React from 'react';
2
import findDOMNode from 'rc-util/lib/Dom/findDOMNode';
3
import toArray from 'rc-util/lib/Children/toArray';
4
import warning from 'rc-util/lib/warning';
5
-import { composeRef } from 'rc-util/lib/ref';
+import { composeRef, supportRef } from 'rc-util/lib/ref';
6
import ResizeObserver from 'resize-observer-polyfill';
7
-import { supportRef } from './util';
8
9
const INTERNAL_PREFIX_KEY = 'rc-observer-key';
10
src/util.ts
0 commit comments