ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
91.29k stars 47.85k forks source link

feat: reverse the steps in dot style #49743

Open Dmaziyo opened 2 weeks ago

Dmaziyo commented 2 weeks ago

What problem does this feature solve?

sometimes we need the dot-style steps start from the bottom to the top

What does the proposed API look like?

add a reverse prop into the dot-style steps

afc163 commented 2 weeks ago

What would it look like?

Dmaziyo commented 2 weeks ago

thanks for the quick reply, here is what i hope it would be 1 2

MadCcc commented 1 week ago

Not a normal design, could you provide more details?

Dmaziyo commented 1 week ago

Not a normal design, could you provide more details?

image The picture above is the situation where I need the reversed one, starting from the bottom and progressing step by step to the top. I can't achieve this when using the dot style.

Dmaziyo commented 1 week ago

I just found out that we can reverse the timeline component, so I was wondering if we can have a reverse prop in the steps