-
Notifications
You must be signed in to change notification settings - Fork 2.7k
feat: 时间轴升级支持横向交叉展示以及样式升级 #11554
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: 时间轴升级支持横向交叉展示以及样式升级 #11554
Conversation
|
👍 Thanks for this! Please review the labels and make any necessary changes. |
2betop
left a comment
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.
组件层请不要加入渲染器相关的逻辑,比如那个 cardConfig ,应该是渲染器层去支持这个,给到组件应该是直接下发个 React.ReactNode 之类的节点。
另外 cardConfig 请改名成 cardSchema 与别的组件命名保持一致
done |
What
时间轴升级支持横向交叉展示以及样式升级
Why
因为时间轴目前只支持纵向展示,横向不支持交叉展示。为了丰富交互,同时也为了支持卡片类型展示,做了拓展。
How
技术方案:https://ku.baidu-int.com/knowledge/HFVrC7hq1Q/pKzJfZczuc/HXgFqndB6r/XcU3JLdM4kvhIQ