Skip to content
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: useBreakpoint hook #22226

Merged
merged 5 commits into from
Mar 15, 2020
Merged

feat: useBreakpoint hook #22226

merged 5 commits into from
Mar 15, 2020

Conversation

shaodahong
Copy link
Member

@shaodahong shaodahong commented Mar 15, 2020

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

Closed #13785

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English useBreakpoint hook
🇨🇳 Chinese useBreakpoint hook

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

View rendered components/grid/demo/useBreakpoint.md

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Mar 15, 2020

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 15, 2020

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 70837b6:

Sandbox Source
antd reproduction template Configuration

@codecov
Copy link

codecov bot commented Mar 15, 2020

Codecov Report

Merging #22226 into feature will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           feature   #22226      +/-   ##
===========================================
+ Coverage    97.98%   97.98%   +<.01%     
===========================================
  Files          358      359       +1     
  Lines         7147     7154       +7     
  Branches      1915     1915              
===========================================
+ Hits          7003     7010       +7     
  Misses         144      144
Impacted Files Coverage Δ
components/index.tsx 100% <ø> (ø) ⬆️
components/grid/hooks/useBreakpoint.tsx 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 869f93d...70837b6. Read the comment docs.

@afc163
Copy link
Member

afc163 commented Mar 15, 2020

LGTM

@afc163
Copy link
Member

afc163 commented Mar 15, 2020

测试覆盖率要补一下

@shaodahong
Copy link
Member Author

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants