-
Notifications
You must be signed in to change notification settings - Fork 269
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
docs(configprovider): 文档可读性优化 #1882
docs(configprovider): 文档可读性优化 #1882
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #1882 +/- ##
==========================================
+ Coverage 76.06% 76.21% +0.15%
==========================================
Files 215 215
Lines 8699 8700 +1
Branches 2489 2490 +1
==========================================
+ Hits 6617 6631 +14
+ Misses 1886 1873 -13
Partials 196 196 ☔ View full report in Codecov by Sentry. |
…x12321/nutui-react into hxy/0119/configProvider-fix
src/packages/configprovider/doc.md
Outdated
@@ -36,34 +36,99 @@ NutUI-React 可以通过 [CSS 变量](https://developer.mozilla.org/zh-CN/docs/W | |||
ConfigProvider 组件提供了覆盖 CSS 变量的能力,你需要在根节点包裹一个 ConfigProvider 组件,并通过 theme 属性来配置一些主题变量。 | |||
|
|||
> ConfigProvider 组件不是一个虚拟组件,它会生成一个 div 标签。 | |||
> | |||
##### Textarea 默认 |
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.
configprovider 组件更偏向说明,不必和例子对应,此组件的重点不在右侧演示的例子上。可以调整下 demo 的顺序,因为文档先讲了 主题定制,然后才是国际化
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.
明白,doc和demo重新调整了下
文档优化、doc&demo一致化、button demo错字修改
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
☑️ 请求合并前的自查清单