Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
react-nano-scrollbar
Advanced tools
react-nano-scrollbar
Weekly downloads
Readme
react-nano-scrollbar is a minimalist scrollbar library for React, inspired by perfect-scrollbar, implemented inside of React component with no external dependencies.
Install react-nano-scrollbar
with either npm or yarn:
yarn add react-nano-scrollbar
# or
npm install react-nano-scrollbar
Then include the CSS with:
/* In your CSS/SCSS file: */
@import 'react-nano-scrollbar/dist/index.css';
or:
// In your JS/TS file (assuming your bundler supports loading CSS files):
import 'react-nano-scrollbar/dist/index.css';
import { ScrollArea } from 'react-nano-scrollbar';
return (
<ScrollArea className="example">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed malesuada
felis libero, maximus interdum lorem hendrerit ornare. In nisl nunc,
finibus non gravida eu, dictum vitae metus. Proin feugiat enim purus, ac
auctor elit facilisis et. Etiam sollicitudin lacus sed sollicitudin
mattis. Maecenas nulla est, malesuada luctus fringilla vitae, feugiat sit
amet massa. Sed ut tellus gravida, lobortis nunc vel, semper justo. Aenean
sapien tellus, consectetur ac quam ut, molestie convallis sapien.
</p>
</ScrollArea>
);
FAQs
react-nano-scrollbar
The npm package react-nano-scrollbar receives a total of 22 weekly downloads. As such, react-nano-scrollbar popularity was classified as not popular.
We found that react-nano-scrollbar 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.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.