mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
feat: Notifications title
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user