image-slider-yube
v1.0.3
Published
A customizable image slider component for React.
Downloads
279
Readme
import React from 'react'; import { ImageSlider } from 'react-image-slider';
const App: React.FC = () => { const images = [ 'https://via.placeholder.com/600x300/FF5733/FFFFFF?text=Image+1', 'https://via.placeholder.com/600x300/33FF57/FFFFFF?text=Image+2', 'https://via.placeholder.com/600x300/3357FF/FFFFFF?text=Image+3', ];
return (
<div>
<h1>My Image Slider</h1>
<ImageSlider images={images} width="800px" height="400px" />
</div>
);
};
export default App;