summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-14 14:22:29 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-14 14:22:29 +0700
commit8dc379e37d7ab3b86725b58d9636c4ad64dcfc2f (patch)
tree97f424776a866acb7e80368326aafb7c740ceb9e /src/components
parent635f3de9cff5e4a9c92fd63984f8dfb9d7c6ab24 (diff)
no message
Diffstat (limited to 'src/components')
-rw-r--r--src/components/elements/Image.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/elements/Image.js b/src/components/elements/Image.js
index da92674d..60e249b9 100644
--- a/src/components/elements/Image.js
+++ b/src/components/elements/Image.js
@@ -1,9 +1,11 @@
import { LazyLoadImage } from "react-lazy-load-image-component"
+import "react-lazy-load-image-component/src/effects/opacity.css"
const Image = ({ ...props }) => {
return (
<LazyLoadImage
{...props}
+ effect="opacity"
src={props.src || '/images/noimage.jpeg'}
alt={props.src ? props.alt : 'Image Not Found - Indoteknik'}
/>