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

@@ -0,0 +1,18 @@
import { HeadingCommon } from "src/components/common"
import s from './NotificationHeading.module.scss'
interface NotificationHeadingProps {
children?: React.ReactNode,
heading?: string,
}
const NotificationHeading = ({heading = "NOTIFICATIONS"}: NotificationHeadingProps) => {
return (
<section className={s.headingWrapper}>
<div className={s.heading}>
<HeadingCommon>{heading}</HeadingCommon>
</div>
</section>
)
}
export default NotificationHeading