feat(WEB-304): remaning UI from design system primitives
This commit is contained in:
@@ -4,7 +4,7 @@ import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
|
||||
import styles from "./header.module.css"
|
||||
|
||||
import type { HeaderProps } from "@/types/components/myPages/stays/title"
|
||||
import type { HeaderProps } from "@/types/components/myPages/header"
|
||||
|
||||
export default function Header({
|
||||
link,
|
||||
@@ -21,11 +21,11 @@ export default function Header({
|
||||
>
|
||||
{title}
|
||||
</Title>
|
||||
{link && (
|
||||
{link ? (
|
||||
<Link className={styles.link} href={link.href} variant="myPage">
|
||||
{link.text}
|
||||
</Link>
|
||||
)}
|
||||
) : null}
|
||||
<Subtitle className={styles.subtitle}>{subtitle}</Subtitle>
|
||||
</header>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user