feat(SW-240): use caption instead of body

This commit is contained in:
Fredrik Thorsson
2024-08-19 15:37:03 +02:00
parent 0bf2927e79
commit 121d3878af
6 changed files with 32 additions and 39 deletions

View File

@@ -6,7 +6,7 @@ import { useIntl } from "react-intl"
import { dt } from "@/lib/dt"
import Button from "@/components/TempDesignSystem/Button"
import Body from "@/components/TempDesignSystem/Text/Body"
import Caption from "@/components/TempDesignSystem/Text/Caption"
import FormContent from "./FormContent"
import { bookingWidgetSchema } from "./schema"
@@ -71,9 +71,9 @@ export default function Form() {
intent="primary"
className={styles.button}
>
<Body color="white" textTransform="bold" className={styles.fontSize}>
<Caption color="white" textTransform="bold">
{intl.formatMessage({ id: "Find hotels" })}
</Body>
</Caption>
</Button>
</section>
)