mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
18 lines
525 B
TypeScript
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 |