
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@rn-components-kit/deck-swiper
Advanced tools
Deck Swiper helps you evaluate one option at a time, instead of selecting from a set of options.
English | 中文
Deck Swiper helps you evaluate one option at a time, instead of selecting from a set of options.
npm install @rn-components-kit/deck-swiper --save
| Preview | Code |
|---|---|
![]() | Demo1 Code |
styledatacardWidthcardHeightrenderCardrenderBottomonSwipeLeftonSwipeRightonBeginDraggingonEndDraggingstyleAllow you to customizr style
| Type | Required | Default |
|---|---|---|
| object | no | - |
dataData source of cards
| Type | Required | Default |
|---|---|---|
| T[] | yes | - |
cardWidthWidth of card (it is important to help calculate animation)
| Type | Required | Default |
|---|---|---|
| number | yes | - |
cardHeightHeight of card (it is important to help calculate animation)
| Type | Required | Default |
|---|---|---|
| number | yes | - |
renderCard(params: {item: T, index: number}) => React.ReactElement | null
Takes an item from data and renders it into the swiper
| Type | Required | Default |
|---|---|---|
| function | yes | - |
renderBottom() => React.ReactElement | null
When all cards are swiped, it will be called and returns bottom layer component
| Type | Required | Default |
|---|---|---|
| function | no | - |
onSwipeLeft(from: number, to: number) => void
A callback will be triggered when card is swiped left
| Type | Required | Default |
|---|---|---|
| function | no | () => {} |
onSwipeRight(from: number, to: number) => void
A callback will be triggered when card is swiped right
| Type | Required | Default |
|---|---|---|
| function | no | () => {} |
onBeginDragging() => void
A callback will be triggered when you begin to drag DeckSwiper
| Type | Required | Default |
|---|---|---|
| function | no | () => {} |
onEndDragging() => void
A callback will be triggered when dragging operation ends
| Type | Required | Default |
|---|---|---|
| function | no | () => {} |
prevprev()
Swipes to previous card
nextnext()
Swipes to next card
FAQs
Deck Swiper helps you evaluate one option at a time, instead of selecting from a set of options.
We found that @rn-components-kit/deck-swiper 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.