A plain old <marquee>
tag replacement in React component.
This is a forked branch.
All Credits goes to jasonslyvia/react-marquee.
This forked branch fixes a specific issue of Offset not getting to reset to 0 after text change.
Release Notes :
1.Added Support for Dynamic Text Changes.
"react-marquee": "https://github.com/sahilchaddha/SC-react-marquee.git"
var ReactDOM = require('react-dom');
var Marquee = require('react-marquee');
ReactDOM.render(
<Marquee text="this is a very very very very very very very very very very very very very very very very long text" />
, document.body);
Type: String Default: ""
The text displayed in marquee.
Type: Bool Default: false
By default, only hover makes the marquee move.
Type: Bool Default: false
Whether or not loop the marquee.
Type: Number Default: 0
The leading waiting time for the marquee to move.
Type: Number Default: 0
The trailing waiting time for the marquee to start over.
$ npm run build
MIT