
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
react-native-surfinn-alert
Advanced tools
This is a custom component of React Native, a fully customized pop-up compatible with iOS and Android.
It just provides a pop-up container with a background, so you can implement your own view.
Install reanimated v2 first. see https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/
npm
npm install react-native-surfinn-alert
yarn
yarn add react-native-surfinn-alert
Add AlertProvider to top of your app
import {AlertProvider} from 'react-native-surfinn-alert';
<AlertProvider>
...
</AlertProvider>;
and add Alert to your screen or component
import {Alert} from 'react-native-surfinn-alert';
const alertRef = React.useRef(null);
const open = () => {
alertRef.current?.open();
};
const close = () => {
alertRef.current?.close();
};
return (
<View>
<Button onPress={open} title="Open Alert" />
<Alert ref={alertRef} backdrop backdropOpacity={0.3}>
<View style={styles.alert}>
<Text>Alert Title</Text>
<Text>Alert Messages</Text>
<Button onPress={close} title="Close Alert" />
</View>
</Alert>
</View>
);
const styles = StyleSheet.create({
alert: {
backgroundColor: 'white',
padding: 20,
borderRadius: 10,
}
})
See more https://github.com/hjyong/react-native-surfinn-alert.git
FAQs
React Native Surfinn Alert
The npm package react-native-surfinn-alert receives a total of 0 weekly downloads. As such, react-native-surfinn-alert popularity was classified as not popular.
We found that react-native-surfinn-alert 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
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.