
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
react-native-web-hover
Advanced tools
Some enhanced elements for react-native-web to support hover on the web
Some enhanced elements for react-native-web to support hover on the web!
It requires a React Native version with Pressable support which was introduced in version 0.63
https://codesandbox.io/s/young-surf-bbmzz?file=/src/App.tsx
npm install react-native-web-hover
import { Hoverable, Pressable, } from 'react-native-web-hover'
// The Pressable, you can still provide normal styles or children without functions!
<Pressable
style={({ hovered, focused, pressed }) => [
styles.buttonRoot,
hovered && styles.buttonHovered,
focused && styles.buttonFocused,
pressed && styles.buttonPressed
]}
>
{({ hovered, focused, pressed }) => (
<View style={styles.buttonInner}>
<Text style={styles.buttonLabel}>
{label}
</Text>
</View>
)}
</Pressable>
// The Hoverable
<Hoverable>
{({ hovered }) => (
<Button
title="legacy button"
onPress={() => {}}
color={hovered ? "black" : "grey"}
/>
)}
</Hoverable>
We recommend the "Pressable" component. You can see examples here: https://codesandbox.io/s/young-surf-bbmzz?file=/src/App.tsx
If your webapp is included in an iframe you will need the FlatList, ScrollViews or VirtualizedList from our library.
import { ScrollView, FlatList, VirtualizedList } from 'react-native-web-hover'
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
Some enhanced elements for react-native-web to support hover on the web
The npm package react-native-web-hover receives a total of 710 weekly downloads. As such, react-native-web-hover popularity was classified as not popular.
We found that react-native-web-hover 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
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.