Closed Koykoy200078 closed 2 months ago
alos having the same issue after i updated this package
I am also having same issue when I updated from Expo 50 to 51
ERROR Warning: BottomTabNavigator: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
I updated react-native-animated-nav-tab-bar which is related to that, I am still having same issue
Same issue, this repo needs some love.
Issue is at the bottom of this file. Not sure if PR's are accepted? If so should be easy to fix:
I am not using typescript in my app, I am simply importing react-native-animated-nav-tab-bar package in my app
I know it needs some love, but I've been quite restricted by time and other commitments haha.
PRs and contributions are absolutely welcome!
I know it needs some love, but I've been quite restricted by time and other commitments haha.
PRs and contributions are absolutely welcome!
No worries, I created the PR: https://github.com/torgeadelin/react-native-animated-nav-tab-bar/pull/137
This has now been fixed, please upgrade to latest version.
Thanks for merging the pr!
ERROR Warning: BottomTabNavigator: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
// package,json "react": "18.3.1", "react-native": "0.74.0", "react-native-animated-nav-tab-bar": "^3.1.10",
import { AnimatedTabBarNavigator } from 'react-native-animated-nav-tab-bar'
const Tab = AnimatedTabBarNavigator() const TabBar = () => { const { order_count: orderCount } = useSelector((state) => state.order)
}