Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
react-paged-scroller
Advanced tools
Readme
A horizontal scrolling box component with no scroll bar. Scroll arrows can be optionally displayed, and clicking on them scrolls over one page (making sure that no items are skipped). It also optionally supports drag gestures that play nice with items that have onClick handlers.
Zero dependencies and just 3kB gzipped.
npm install react-paged-scroller
or
yarn add react-paged-scroller
<PagedScroller>
{[...Array(20).keys()].map((i) => (
<TestItem key={i} index={i} />
))}
</PagedScroller>
All props are optional.
width (string)
: Width of the container as a string. Defaults to 100% (however, the max width is the width of all the items in the scroller) (eg. "500px").
itemGap (string)
: Gap between items (eg: "8px").
showArrows (boolean)
: Shows the paged scrolling arrow buttons. Defaults to true on non-touch devices.
enabledDrag (boolean)
: Enables scrolling with drag gestures. Defaults to true on touch devices.
scrollLeftButton (ReactElement)
: Provide a custom button for scrolling left.
scrollRightButton (ReactElement)
: Provide a custom button for scrolling right.
returnToStartButton (ReactElement)
: Provide a custom button for scrolling back to the start.
scrollContainerRef (React.RefObject)
: Provide a ref to the scroll component (to control the scroll position, for example)
The MIT License (MIT)
FAQs
A horizontal psuedo-scrolling (no scroll bar) box component.
We found that react-paged-scroller 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.