1.13.96 • Published 2 years ago
@myntra/uikit-component-image v1.13.96
import Image from './src/image'
Image
<Image src="//picsum.photos/300/200" height={200} width={300} />
Examples
Lazy Image
<Image src="image-does-not-exist.jpg" height={200} width={300} />
Eager Image
<Image src="image-does-not-exist.jpg" height={200} width={300} />
Fallback Image
<Image src="image-does-not-exist.jpg" height={200} width={300} />