[MyPageItemCard / ReminersCard] CustomImage defaultImageItem 적용
This commit is contained in:
@@ -4,6 +4,7 @@ import classNames from "classnames";
|
||||
|
||||
import Spottable from "@enact/spotlight/Spottable";
|
||||
|
||||
import defaultImageItem from "../../../../assets/images/img-thumb-empty-product@3x.png";
|
||||
import CustomImage from "../../../components/CustomImage/CustomImage";
|
||||
import TCheckBox from "../../../components/TCheckBox/TCheckBox";
|
||||
import { $L } from "../../../utils/helperMethods";
|
||||
@@ -79,7 +80,13 @@ export default memo(function MyPageItemCard({
|
||||
<p className={css.soldOutText}>{$L("Sold Out")}</p>
|
||||
</div>
|
||||
)}
|
||||
<CustomImage src={thumbnail} delay={0} alt={title} />
|
||||
<CustomImage
|
||||
alt={title}
|
||||
delay={0}
|
||||
animationSpeed="fast"
|
||||
src={thumbnail}
|
||||
fallbackSrc={defaultImageItem}
|
||||
/>
|
||||
</div>
|
||||
<div className={css.titleWrap}>
|
||||
<p className={css.title}>{title}</p>
|
||||
|
||||
@@ -5,6 +5,7 @@ import classNames from "classnames";
|
||||
import Spotlight from "@enact/spotlight";
|
||||
import Spottable from "@enact/spotlight/Spottable";
|
||||
|
||||
import defaultImageItem from "../../../../../assets/images/img-thumb-empty-product@3x.png";
|
||||
import CustomImage from "../../../../components/CustomImage/CustomImage";
|
||||
import TCheckBox from "../../../../components/TCheckBox/TCheckBox";
|
||||
import * as HelperMethods from "../../../../utils/helperMethods";
|
||||
@@ -105,6 +106,7 @@ export default memo(function RemindersCard({
|
||||
delay={0}
|
||||
alt={showId}
|
||||
className={css.patncLogo}
|
||||
fallbackSrc={defaultImageItem}
|
||||
/>
|
||||
|
||||
{/* {dayOver === false && focus && (
|
||||
|
||||
Reference in New Issue
Block a user