You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
May 4, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
antd 版本:1.6.5
<Timeline.Item color="green">创建服务现场 2015-09-01</Timeline.Item>
color 参数貌似不支持自定义色值
源代码这里好像也只支持三种颜色
https://github.com/ant-design/ant-design/blob/master/components/timeline/TimelineItem.tsx#L43
<div className={dotClassName} style={{ color: /blue|red|green/.test(color) ? null : color }}>{dot} </div>
The text was updated successfully, but these errors were encountered: