
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
react-native-animated-swipe-button
Advanced tools
A custom component of an animated swipe button
A custom component of an animated swipe button with gradient colors, in typescript.
It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks. You can use it directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.
import SwipeButton from 'react-native-animated-swipe-button';
<SwipeButton
onToggle={(isToggled) => {
const time = setTimeout(() => {
onPressCheckIn(isToggled);
clearTimeout(time);
}, 500);
}}
isToggled={isCheckedIn}
width={width * 0.7}
height={70}
padding={5}
gradiantColors={[
GlobalColors.Brand.thierd,
GlobalColors.Brand.secondary,
]}
buttonColors={[
GlobalColors.Brand.secondary,
GlobalColors.Brand.thierd,
]}
/>
Name | Type | Default |
---|---|---|
onToggle | (isToggled: boolean) => void | |
isToggled | boolean | |
width? | number | |
height? | number | |
padding? | number | |
containerStyle? | ViewStyle | |
gradiantColors? | string[] | |
buttonColors? | string[] | |
textBeforeSwipeStyle? | TextStyle | |
textAfterSwipeStyle? | TextStyle | |
textCheckIn? | string | |
textCheckOut? | string |
FAQs
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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.