GeekyAnts / GeekyAnts/NativeBase
ThreeDotsIcon throws unique key prop warning
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
When using ThreeDotsIcon (used in IconButton specifically) it throws a react warning about not having key props
### CodeSandbox/Snack link
https://snack.expo.dev/t3JUBCRz-
### Steps to reproduce
(haven't tested CRA but it should complain -- it loves to complain about those. did test with metro.)
1. Init react-native app (npx react-native init ...)
2. Add element in app
3. Run with metro
4. See complaint either in devtools warning popup or in metro console
### NativeBase Version
3.4.28
### Platform
- [X] Android
- [X] CRA
- [ ] Expo
- [X] iOS
- [ ] Next
### Other Platform
_No response_
### Additional Information
"Warning: Each child in a list should have a unique "key" prop."
Looks like it's a bug because the path passed is an array of items to render vs the other icons which is just a single element
Contributor guide
Assessment
This issue has not been assessed yet.