Error in PanelList.render():
Closed this issue · 5 comments
Hi @ctxhou I'm getting an error when I try to put the code from this link https://github.com/ctxhou/react-tabtab/blob/master/docs/components/Basic.js to my project component. I'm currently using "react": "^15.4.0",
as per you readme.md your component supports react v15.
Hi @webdevsyd,
Thanks for your report.
I will figure out what happened recently.
@webdevsyd I've fixed it in #81 pr.
Please install v1.3.0
and try it.
Hey @ctxhou I installed v1.3.1
if <Panel>
is more than 1, same error as above is displayed
<Tabs>
<TabList>
<Tab>Tab1</Tab>
</TabList>
<PanelList>
<Panel>Content1</Panel>
<Panel>Content1</Panel>
</PanelList>
</Tabs>
If <Panel>
is only 1, it displays this error children.map is not a function
Hi @webdevsyd
Really thanks for your report.
There are some issues I didn't notice of react v15.
I've fixed it and published in v1.4.0
.
Please try it again, thanks.