0.1.0 • Published 12 months ago
@deadpoolx7/react-smart-image v0.1.0
react-smart-image
A lightweight React component for responsive, lazy-loaded images with WebP and fallback support.
Installation
npm install @deadpoolx7/react-smart-imageUsage
import { SmartImage } from 'react-smart-image';
<SmartImage
src="image.jpg"
srcWebp="image.webp"
alt="A smart image"
/>By deafult it loads image Lazily.
0.1.0
12 months ago