react-component / react-component/steps

Bug: Steps.Step not working

Open
#369 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.