'use client' import { BellOutlined, } from '@ant-design/icons' import { Badge, Dropdown, Space, List, Typography } from 'antd' import type { MenuProps } from 'antd' const { Text } = Typography // Example Notification Data const notifications = [ { id: '1', title: 'New Message', description: 'You have received a new message from John.', time: '2 min ago', }, { id: '2', title: 'Server Update', description: 'Server will restart at 12:00 AM.', time: '10 min ago', }, { id: '3', title: 'Payment Received', description: 'You have received a payment of $120.', time: '1 hour ago', }, ] const NotificationList = () => (
( {item.title}} description={
{item.description} {item.time}
} />
)} />
) const BellNotification = () => { return ( } placement="bottomRight" trigger={['click']} arrow > ) } export default BellNotification