Open AlexMCrick opened 1 year ago
Haha, I am here for the same issue ... I actually took a dive into the code and I am quite shocked! It looks like for v5 they changed the API to use steps prop instead of using Step components through children but never updated the README. Additionally they continue to allow you to pass children
to the Steps
component even though it is never used.
Here is how it's supposed to be used now:
<Steps
items={[
{
title: 'first',
},
{
title: 'second',
},
{
title: 'third',
},
]}
/>
I faced the same.
The provided example site is also not working : https://react-component.github.io/steps/
Is there any sample implementation I can take a look at?
fix site: #346
Not sure if there was a breaking syntax change between versions 4 and 5 that is causing this, but I upgraded from 4.1.4 to 6.0.1 and it broke rc-steps in my project. The container div shows up but there is no content and css height is 0 px. I downgraded to 5.0.0 to see if that fixed anything and I got the same result. Downgrading again to 4.1.4 renders my steps implementation normally again.