ForwardRef(AccordionItem) in Accordian.item ,Each child in a list should have a unique "key" prop #5192
mak12
started this conversation in
Feature request
Replies: 2 comments
-
Hi @mak12, Thank you for reaching out to us. Accordian component you are referring to is yet to be released. We are going to release it in upcoming sprints. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @Krithikj20 thank you for the reply, any timeline for this release? This is the only component with this warning in project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
ForwardRef(AccordionItem) in Accordian.item ,Each child in a list should have a unique "key" prop
CodeSandbox/Snack link
https://snack.expo.dev/UXxPIVXSKK
Steps to reproduce
NativeBase Version
3.4.6
Platform
I have passed the key
prop
toAccordion.Item
still same issue.<Accordion allowMultiple={false} style={{flex:1}} > { MAIN_C0NTENT.map((item, index) => { return <Accordion.Item key={
${item.index}} m={0} > <Accordion.Summary style={{flex:1}}> </Accordion.Summary> </Accordion.Item> }) } </Accordion>
Platform
Other Platform
No response
Additional Information
Beta Was this translation helpful? Give feedback.
All reactions