-
Notifications
You must be signed in to change notification settings - Fork 838
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: tabs使用横纵方向,标题支持左对齐 #2809
feat: tabs使用横纵方向,标题支持左对齐 #2809
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v4 #2809 +/- ##
==========================================
- Coverage 85.23% 84.97% -0.26%
==========================================
Files 166 166
Lines 21190 21211 +21
Branches 2390 2405 +15
==========================================
- Hits 18061 18024 -37
- Misses 3124 3170 +46
- Partials 5 17 +12 ☔ View full report in Codecov by Sentry. |
src/packages/__VUE/tabs/types.ts
Outdated
@@ -11,3 +11,4 @@ export type RectItem = { | |||
export type TabsDirection = 'horizontal' | 'vertical'; | |||
export type TabsSize = 'large' | 'normal' | 'small'; | |||
export type TabsType = 'line' | 'smile'; | |||
export type Alignment = 'left' | 'center'; |
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.
建议 prop 名称改为 align
,同时其类型名称为 TabsAlign
需要在文档中新增对应属性的 demo 示例,具体写法可参考 贡献指南-文档与 demo |
这个 PR 做了什么? (简要描述所做更改)
tabs使用横纵方向,标题支持左对齐
resolve #2471
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
这个 PR 是否已自测: