import { PlusOutlined } from '@ant-design/icons'; import { Button, List } from 'antd'; import React, { useState } from 'react'; import { NotificationInfoModal } from '../../components/modals/NotificationInfo'; import { PageHeader } from '../../components/PageHeader'; import { useEvent } from '../../hooks/useEvent'; export const NotificationList: React.FC = React.memo(() => { const [open, setOpen] = useState(false); const handleOk = useEvent(() => { console.log('ok'); setOpen(false); }); return (
} /> ( edit]}> )} /> setOpen(false)} /> ); }); NotificationList.displayName = 'NotificationList';