
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
rn-slide-button
Advanced tools
A simple slide button using Reanimated 2 animation library.
npm install --save rn-slide-button
or
yarn add rn-slide-button
yarn add react-native-gesture-handler react-native-reanimated
import SlideButton from 'rn-slide-button';
// ...
<SlideButton title="Slide To Unlock"/>;
// ...
prop | type | default | description |
---|---|---|---|
width | number | screen width | button width. |
height | number | 60 | button height. |
borderRadius | number | 30 | button corner radius. |
completeThreshold | number | 70 | determinates whether the thumb will reach to the end or to start. (value should be 0-100) |
padding | number | 5 | button content padding. |
disabled | boolean | false | changes button touchability. |
reverseSlideEnabled | boolean | true | enable/disable thumb's back sliding feature |
title | string | Slide to save | button title. |
titleStyle | object | object | button title styling. |
titleContainerStyle | object | object | button title container styling. |
icon | Image/ Element | null | thumb icon. |
thumbStyle | object | object | thumb container styling. |
containerStyle | object | object | button container styling. |
underlayStyle | object | object | thumb underlay view styling. |
autoReset | boolean | false | thumb will reset its position if it's set to true |
autoResetDelay | number | 1080ms | delay time to reset |
animation | boolean | false | thum will animate if it's set to true |
animationDuration | number | 180ms | animation duration time |
onSlideStart | func | () => {} | it will be invoked when sliding starts |
onSlideEnd | func | () => {} | it will be invoked when sliding ends |
onReachedToStart | func | () => {} | it will be invoked when thumb reaches to start |
onReachedToEnd | func | () => {} | it will be invoked when thumb reaches to end |
MIT
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
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.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.