
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@chayns-components/swipeable-wrapper
Advanced tools
A set of beautiful React components for developing your own applications with chayns.
A set of beautiful React components for developing your own applications with chayns.
First you need to install the swipeable wrapper part of the chayns-components.
# NPM
npm install @chayns-components/swipeable-wrapper
# Yarn
yarn add @chayns-components/swipeable-wrapper
Information: Since the components have now been implemented with the styled-components library, the styles are delivered directly with the components. There is no need to load an extra stylesheet anymore.
You can use the components in your project as in the following example.
import { Icon } from '@chayns-components/icon';
import { SwipeableWrapper } from '@chayns-components/swipeable-wrapper';
<SwipeableWrapper
leftActions={[
{
action: () => console.log('Delete action'),
color: '#3B82F6',
icon: <Icon icons={['fa fa-trash']} />,
text: 'Delete',
},
]}
rightActions={
[
// Same structure as leftActions
]
}
>
<MyComponent />
</SwipeableWrapper>;
FAQs
A set of beautiful React components for developing your own applications with chayns.
The npm package @chayns-components/swipeable-wrapper receives a total of 1,704 weekly downloads. As such, @chayns-components/swipeable-wrapper popularity was classified as popular.
We found that @chayns-components/swipeable-wrapper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.