feat: static my stays
This commit is contained in:
18
components/MyPages/Blocks/Stays/Header/index.tsx
Normal file
18
components/MyPages/Blocks/Stays/Header/index.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import Title from "@/components/MyPages/Title"
|
||||
|
||||
import styles from "./header.module.css"
|
||||
|
||||
import { HeaderProps } from "@/types/components/myPages/stays/title"
|
||||
|
||||
export default function Header({ title, subtitle }: HeaderProps) {
|
||||
return (
|
||||
<header className={styles.header}>
|
||||
<Title as="h3" weight="semiBold" uppercase>
|
||||
{title}
|
||||
</Title>
|
||||
<Title as="h5" weight="regular" className={styles.subtitle}>
|
||||
{subtitle}
|
||||
</Title>
|
||||
</header>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user