
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
react-native-collapsible-toolbar
Advanced tools
Pure JS based collapsible toolbar for react native on Android and iOS
Pure JS based collapsible toolbar for react native on Android and iOS.
yarn add react-native-collapsible-toolbar
import { Platform } from 'react-native';
import CollapsibleToolbar from 'react-native-collapsible-toolbar';
...
<CollapsibleToolbar
renderContent={this.renderContent}
renderNavBar={this.renderNavBar}
renderToolBar={this.renderToolBar}
imageSource='https://lorempixel.com/400/300/'
collapsedNavBarBackgroundColor='#009688'
translucentStatusBar={Platform.Version >= 21}
toolBarHeight={300}
/>
...
Either an image source or a custom toolbar component must be provided
Name | Type | Default | Description |
---|---|---|---|
collapsedNavBarBackgroundColor | String | '#FFF' | Navbar background color when it's collapsed |
imageSource | String | - | Image to render as collapsible component |
onContentScroll | Function | - | The scroll event |
renderContent | Function | REQUIRED | Content to render below the collapsible toolbar |
renderNavBar | Function | REQUIRED | Transparent nav bar to render on top of the toolbar |
renderToolBar | Function | - | Custom toolbar component (will override imageSource) |
toolBarHeight | Number | 300 | Height of the collpasible toolbar |
translucentStatusBar | Boolean | false | If true, will adjust the nav bar position for Android |
All the ScrollView props are also supported.
FAQs
Pure JS based collapsible toolbar for react native on Android and iOS
We found that react-native-collapsible-toolbar 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.