-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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(timeline): add horizontal
prop
#932
feat(timeline): add horizontal
prop
#932
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/tusimple/naive-ui/HzNEvM36TeorsAA3LH798VULYqbD |
Codecov Report
@@ Coverage Diff @@
## main #932 +/- ##
=======================================
Coverage 44.63% 44.64%
=======================================
Files 509 509
Lines 12461 12463 +2
Branches 3501 3503 +2
=======================================
+ Hits 5562 5564 +2
Misses 5898 5898
Partials 1001 1001
Continue to review full report at Codecov.
|
|
加一个 Demo,现在 vercel 的 preview 看不出来功能 |
| size | `'medium' \| 'large'` | `'medium'` | Size. | | ||
| Name | Type | Default | Description | | ||
| --- | --- | --- | --- | | ||
| item-placement | `'left' \| 'right' \| 'horizontal'` | `'left'` | Direction. | |
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.
horizontal 单独开一个 prop 吧
item-placement
add horizontal
prophorizontal
prop
* feat(timeline): `item-placement` add `horizontal` prop * feat: fix code * feat: add test * feat: fix code * Apply suggestions from code review Co-authored-by: 07akioni <[email protected]>
close #887