-
-
Notifications
You must be signed in to change notification settings - Fork 52k
feat: 💄 Divider support plain
for lighter style
#23405
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
Conversation
119d51b
to
dc9e229
Compare
asHeading
for lighter style asHeading
for lighter style
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 80a83d2:
|
ed7e927
to
35cf737
Compare
|
type 已经占用了用不了,heading 不明确。还有别的名字没。 |
asHeading
for lighter styleplain
for lighter style
改成 |
Codecov Report
@@ Coverage Diff @@
## feature #23405 +/- ##
========================================
Coverage 98.48% 98.48%
========================================
Files 364 364
Lines 7314 7324 +10
Branches 2004 1998 -6
========================================
+ Hits 7203 7213 +10
Misses 111 111
Continue to review full report at Codecov.
|
components/divider/style/index.less
Outdated
@@ -107,4 +92,10 @@ | |||
&-vertical&-dashed { | |||
border-width: 0 0 0 1px; | |||
} | |||
|
|||
&-heading&-with-text { |
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.
-heading
是不是也要改改
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
增加一个新的正文风格的分割文字风格,标题样式比较重,大多数场景都需要修改字体样式。
📝 Changelog
plain
prop which allows a non-heading style divider text.plain
属性,可用于设置一个非标题样式的分割文字。☑️ Self Check before Merge
View rendered components/divider/demo/customize-style.md
View rendered components/divider/demo/horizontal.md
View rendered components/divider/demo/no-heading.md
View rendered components/divider/demo/vertical.md
View rendered components/divider/demo/with-text.md