ant-design/ant-design

Progress Step size

Open

#30,499 创建于 2021年5月12日

在 GitHub 查看
 (3 评论) (6 反应) (0 负责人)TypeScript (98,031 star) (54,612 fork)batch import
Inactivehelp wanted

描述

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

When "steps" are enabled, the progress bar uses a fixed with of 14px per step. Other progress bars have a width 100% (by default).

The ability to resize the "Progress" component in "step" mode would be helpful in fitting this element into various designs.

What does the proposed API look like?

Ideally it would just leverage the standard css style properties. However, I imagine this implementation might be challenging around responsive design.

It would at least be better if we had the ability to set the stepWidth to a fixed px value.

贡献者指南