Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
rn-wave-bottom-bar-rtl-support
Advanced tools
🌊 Animated bottom bar for react-navigation, react-native.
Custom animated bottom-tab-bar for react-native.
yarn add rn-wave-bottom-bar
or
yarn install rn-wave-bottom-bar --save
const Tab = createBottomTabNavigator();
const tabBarIcon = (name: string) => ({
focused,
color,
size,
}: {
focused: boolean;
color: string; // Defines fab icon color
size: number;
}) => <Icon name={name} size={28} color={focused ? 'white' : 'white'} />;
<NavigationContainer>
<Tab.Navigator
tabBarOptions={{
activeTintColor: 'purple',
}}
tabBar={(props) => (
<BottomFabBar
color="purple"
{...props}
isRtl={false}
/>
)}>
<Tab.Screen
options={{tabBarIcon: tabBarIcon('aliwangwang-o1')}}
name="Home"
component={generateScreen('Home')}
/>
<Tab.Screen
name="Meh"
options={{tabBarIcon: tabBarIcon('meh')}}
component={generateScreen('Meh')}
/>
</Tab.Navigator>
</NavigationContainer>;
Prop | Type | Description |
---|---|---|
color | string | Bottom Bar background color |
springConfig | Animated.SpringConfig | Spring config for the animation |
tabBarProps | BottomTabBarProps | TabBar props passed from the Tab Component |
Thanks to Jm-Zion for this original component : https://github.com/Jm-Zion
Thanks to W.Candillon for the tuto : https://www.youtube.com/watch?v=6LsLgHeX500
Initial Design : https://uimovement.com/design/tab-bar-3/
✅ Works well with mosts Devices and tested on iPad, IPhones, Android Devices.
✅ Support device orientation.
✅ Support i18n (rtl/ltr direction).
FAQs
🌊 Animated bottom bar for react-navigation, react-native.
We found that rn-wave-bottom-bar-rtl-support demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.