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-infinite-ticker
Advanced tools
React component that scrolls children infinitely
Weekly downloads
Readme
React component that scrolls children infinitely.
npm install react-infinite-ticker
import React from "react";
import { VerticalTicker, HorizontalTicker } from "react-infinite-ticker";
function App() {
return (
<div>
<VerticalTicker duration={15000}>
<div>Put anything you want</div>
<img src="/images/as/well.png" />
<h1>All good</h1>
</VerticalTicker>
<HorizontalTicker duration={25000}>
<div>Put anything you want</div>
<img src="/images/as/well.png" />
<h1>All good</h1>
</HorizontalTicker>
</div>
);
}
Both VerticalTicker
and HorizontalTicker
take following props.
duration
REQUIREDThe number of milliseconds it should take to complete one one full animation iteration.
delay
(optional)The number of milliseconds it should wait before each iterations.
easing
(optional)The rate of the animation's change over time. Accepts the pre-defined values "linear", "ease", "ease-in", "ease-out", and "ease-in-out", or a custom "cubic-bezier" value like "cubic-bezier(0.42, 0, 0.58, 1)". Defaults to "linear". (source)
reverse
(optional)The boolean indicating whether the animation should run forward or backward. Defaults to false
FAQs
React component that scrolls children infinitely
The npm package react-infinite-ticker receives a total of 223 weekly downloads. As such, react-infinite-ticker popularity was classified as not popular.
We found that react-infinite-ticker 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.