'use client'; import * as React from 'react'; import * as Popover from '@radix-ui/react-popover'; import { Focus, Bell, User, BadgeCheck } from 'lucide-react'; import * as Button from '@/components/ui/button'; import * as Divider from '@/components/ui/divider'; type Notification = { id: string; icon: React.ComponentType; title: string; time: string; }; const notifications: Notification[] = [ { id: '1', icon: User, title: 'Your investment portfolio First Steps started.', time: '1:27 PM', }, { id: '2', icon: BadgeCheck, title: 'Your risk assessment Profile Setup started.', time: '1:27 PM', }, { id: '3', icon: Focus, title: 'Your financial goals 2024 Planning started.', time: '1:27 PM', }, ]; export default function CompactNotificationsPopover() { return (
{notifications.map((notification) => (
{notification.title}
{notification.time}
))}
See all notifications
); }