-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: compatible for nativeElement #191
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
import findDOMNode from 'rc-util/lib/Dom/findDOMNode'; | ||
import { observe, unobserve } from '../utils/observerUtil'; | ||
import { supportRef, useComposeRef } from 'rc-util/lib/ref'; | ||
import * as React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import sort 不加啊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fabric 里有,这个是它自动变的。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另开个 PR?
Codecov Report
@@ Coverage Diff @@
## master #191 +/- ##
===========================================
- Coverage 100.00% 94.24% -5.76%
===========================================
Files 5 6 +1
Lines 103 139 +36
Branches 30 42 +12
===========================================
+ Hits 103 131 +28
- Misses 0 7 +7
- Partials 0 1 +1
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Support
ref.current.nativeElement