Cannot render tabpanel as component
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 455
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 2
Description
I have dynamic tabpanel content. So I need to create component to call API.
render () {
return (
< TabPanel className="content__products" >
...
But it cannot render.
error: "There should be an equal number of 'Tabs' and 'TabPanels'.Received 3 'Tabs' and 0 'TabPanels'."
Do you know why?
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 reproducing the dynamic TabPanel rendering described in the issue and inspect how the Tabs and TabPanels are counted. Confirm whether the reported usage can render dynamic content, then document or correct the behavior so the expected number of tabs and panels is supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100