'use client' import { Badge, Dropdown, Space, List, Typography, Flex } from 'antd' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faBell } from '@fortawesome/free-solid-svg-icons' 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