2021-09-14 17:26:47 +07:00

18 lines
525 B
TypeScript

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