feat: Notifications title

This commit is contained in:
unknown
2021-09-14 17:26:47 +07:00
parent d6f0ef298d
commit 56cba86a1d
6 changed files with 40 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react'
import NotificationEmptyPage from '../NotificationEmptyPage/NotificationEmptyPage'
import NotificationItem, { NotificationItemProps } from '../NotificationItem/NotificationItem'
import s from './NotificationPage.module.scss'
interface NotificationPageProps {
isEmpty?: boolean,
@@ -34,7 +34,7 @@ const NOTIFICATION_DATA = [
const NotificationPage = ({ isEmpty=false, data = NOTIFICATION_DATA }: NotificationPageProps) => {
return (
<>
<div className={s.notificationPage}>
{
isEmpty ?
<NotificationEmptyPage />
@@ -49,7 +49,7 @@ const NotificationPage = ({ isEmpty=false, data = NOTIFICATION_DATA }: Notificat
}
</>
}
</>
</div>
)
}