diff --git a/src/widgets/main/notification/notification-card.tsx b/src/widgets/main/notification/notification-card.tsx new file mode 100644 index 0000000..8f9ade6 --- /dev/null +++ b/src/widgets/main/notification/notification-card.tsx @@ -0,0 +1,23 @@ +import ChevronRightIcon from '@shared/assets/icon/chevron-right.svg?react'; +export interface NotificationCardProps { + value: string; + time: string; +} + +export function NotificationCard({ value, time }: NotificationCardProps) { + return ( +
+ +
+ ); +} diff --git a/src/widgets/main/notification/notificationPanel.tsx b/src/widgets/main/notification/notificationPanel.tsx new file mode 100644 index 0000000..2019575 --- /dev/null +++ b/src/widgets/main/notification/notificationPanel.tsx @@ -0,0 +1,28 @@ +import { + NotificationCard, + type NotificationCardProps, +} from '@widgets/main/notification/notification-card'; + +interface NotificationPanelProps { + notifications: NotificationCardProps[]; +} + +export function NotificationPanel({ notifications }: NotificationPanelProps) { + return ( +
+
+ + 알림 내역 + + +
+
+ {notifications.map((item, index) => ( + + ))} +
+
+ ); +}