Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@toddWang23
Copy link
Contributor

What
时间轴升级支持横向交叉展示以及样式升级

Why
因为时间轴目前只支持纵向展示,横向不支持交叉展示。为了丰富交互,同时也为了支持卡片类型展示,做了拓展。

How
技术方案:https://ku.baidu-int.com/knowledge/HFVrC7hq1Q/pKzJfZczuc/HXgFqndB6r/XcU3JLdM4kvhIQ

@github-actions github-actions bot added the feat label Feb 6, 2025
@github-actions
Copy link

github-actions bot commented Feb 6, 2025

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

Copy link
Member

@2betop 2betop left a 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 与别的组件命名保持一致

@toddWang23
Copy link
Contributor Author

组件层请不要加入渲染器相关的逻辑,比如那个 cardConfig ,应该是渲染器层去支持这个,给到组件应该是直接下发个 React.ReactNode 之类的节点。

另外 cardConfig 请改名成 cardSchema 与别的组件命名保持一致

done

@hsm-lv hsm-lv merged commit 057e809 into baidu:master Feb 7, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants