diff --git a/src/components/common/NotificationCard.tsx b/src/components/common/NotificationCard/NotificationCard.tsx similarity index 98% rename from src/components/common/NotificationCard.tsx rename to src/components/common/NotificationCard/NotificationCard.tsx index a92b41c..d007fa1 100644 --- a/src/components/common/NotificationCard.tsx +++ b/src/components/common/NotificationCard/NotificationCard.tsx @@ -1,5 +1,5 @@ import { RewardActivityType } from "@/apis/reward"; -import { ContentCard } from "./ContentCard"; +import { ContentCard } from "../ContentCard"; import { Target, Wallet, Award, Mail, MapPin, Medal } from "lucide-react"; const notificationStyles = { diff --git a/src/components/common/NotificationCard/NotificationCardSkeleton.tsx b/src/components/common/NotificationCard/NotificationCardSkeleton.tsx new file mode 100644 index 0000000..1c1a43a --- /dev/null +++ b/src/components/common/NotificationCard/NotificationCardSkeleton.tsx @@ -0,0 +1,35 @@ +import { ContentCard } from "../ContentCard"; + +interface NotificationCardSkeletonProps { + showDescription?: boolean; + showAmount?: boolean; +} + +export function NotificationCardSkeleton({ + showDescription = true, + showAmount = true, +}: NotificationCardSkeletonProps) { + return ( +