-
-
Notifications
You must be signed in to change notification settings - Fork 50.5k
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: Modal support hooks #20949
feat: Modal support hooks #20949
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 5b30bb3:
|
Codecov Report
@@ Coverage Diff @@
## feature #20949 +/- ##
==========================================
Coverage ? 97.48%
==========================================
Files ? 300
Lines ? 6957
Branches ? 1923
==========================================
Hits ? 6782
Misses ? 175
Partials ? 0
Continue to review full report at Codecov.
|
Please help to review. |
ping |
components/modal/demo/hooks.md
Outdated
--- | ||
order: 12 | ||
title: | ||
zh-CN: 使用 hooks |
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.
这里最好写成解决 context 问题的标题。
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.
使用 hooks 不是关键词。
🤔 This is a ...
🔗 Related issue link
close #20177
💡 Background and solution
📝 Changelog
useModal
hook to support context access.useModal
hook 以支持 context 访问。☑️ Self Check before Merge
View rendered components/modal/demo/hooks.md