react-component / react-component/steps
Bug: Steps.Step not working
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 332
- Forks
- 107
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 2
Description
Demo
<Steps current={1}>
<Steps.Step title="first" />
<Steps.Step title="second" />
<Steps.Step title="third" />
</Steps>
Background
This demo in official docs is not working. The source code in steps.tsx not parse children props, but uses items: StepsProps[] to render children. Steps.Step doesn't work at all.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading steps.tsx and compare its items-based rendering with the official documentation demo using Steps.Step children. Trace how children props are handled and verify the example with first, second, and third steps. Done means the documented Steps.Step usage renders the steps correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100