2.0.2 • Published 7 months ago
react-easy-marquee-pro v2.0.2
A lightweight utility library for image marquees, text marquees, and boxes.
Usage
Here’s how you can use the Marquee component in your application:
Basic Example
import React from 'react';
import Marquee from 'react-easy-marquee-pro';
function App() {
return (
<Marquee>
<p>Your scrolling content here!</p>
</Marquee>
);
}
export default App;
With Custom Class
import React from 'react';
import Marquee from 'react-easy-marquee-pro';
import './App.css'; // Include your custom CSS for styling
function App() {
return (
<Marquee className="custom-marquee">
<p>Custom scrolling content with additional styling!</p>
</Marquee>
);
}
export default App;
License
This project is licensed under the MIT License. See the LICENSE file for details.