0.2.0 • Published 1 year ago
react-marquease v0.2.0
🐛 react-marquease
HTML <marquee>s, the React way (with some handy control features).
Install
Via npm
npm install -S react-marqueaseVia Yarn
yarn add react-marqueaseHow to use
import Marquee from 'react-marquease'
const ExampleComponent = () => (
<Marquee>
<p>Scrolly text, moving through, my browser window, moving smooth.<p>
</Marquee>
)Props
reverse- Reverse the direction of theMarquee. (Scroll left to right)pause- PauseMarqueescrollingspeed- Modifies thedurationof the web animation asMarqueescrolls through the viewport. (Default:1)ref- References the outermostdivof the component....rest- Applied to outermostdivof the component.