
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@rn-common/action-sheet
Advanced tools
This library provides a cross-platform action sheet component for React Native, leveraging native `ActionSheetIOS` for iOS and a custom bottom sheet for other platforms.
@rn-common/action-sheet
This library provides a cross-platform action sheet component for React Native, leveraging native ActionSheetIOS
for iOS and a custom bottom sheet for other platforms.
Install using npm:
npm install @rn-common/action-sheet
or yarn:
yarn add @rn-common/action-sheet
To display an action sheet, use the showActionSheet
function:
import { showActionSheet } from '@rn-common/action-sheet'
const actionSheet = {
title: 'Title',
message: 'Message',
buttons: [
{ text: 'Option 1', onPress: () => console.log('Option 1 selected') },
{ text: 'Option 2', onPress: () => console.log('Option 2 selected') },
{
text: 'Cancel',
onPress: () => console.log('Cancel selected'),
type: 'cancel',
},
],
}
showActionSheet(actionSheet)
showActionSheet
FunctionThe showActionSheet
function takes an ActionSheet
object with the following structure:
title
(optional): A title for the action sheet.message
(optional): A message displayed below the title.buttons
: An array of buttons, each with a text
, onPress
, and an optional type
('default', 'cancel', 'destructive').FAQs
This library provides a cross-platform action sheet component for React Native, leveraging native `ActionSheetIOS` for iOS and a custom bottom sheet for other platforms.
We found that @rn-common/action-sheet demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.