ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.64k stars 2.4k forks source link

Optional `locale` props in `ConfigProvider` #6451

Open cbbfcd opened 11 months ago

cbbfcd commented 11 months ago

Because the locale attribute has default corpus settings, in order to simplify the use of ConfigProvider, the locale attribute can be made optional.

codecov[bot] commented 11 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (abef05c) 92.10% compared to head (20f3ff6) 92.26%. Report is 2 commits behind head on master.

Files Patch % Lines
...onents/cascader-view/use-cascader-value-extend.tsx 75.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6451 +/- ## ========================================== + Coverage 92.10% 92.26% +0.16% ========================================== Files 316 316 Lines 6861 6882 +21 Branches 1719 1729 +10 ========================================== + Hits 6319 6350 +31 + Misses 504 495 -9 + Partials 38 37 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 11 months ago

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6451.surge.sh

cbbfcd commented 10 months ago

@zombieJ @1587315093 review pls~

cbbfcd commented 4 months ago

@zombieJ @1587315093 review pls~

+1 @zombieJ