import { useIntl } from "react-intl" import { Typography } from "@scandic-hotels/design-system/Typography" import { FormTextArea } from "@scandic-hotels/design-system/Form/FormTextArea" import styles from "./specialRequests.module.css" import type { RegisterOptions } from "react-hook-form" export function SpecialRequests({ registerOptions, }: { registerOptions?: RegisterOptions }) { const intl = useIntl() return (
{intl.formatMessage({ id: "enterDetails.specialRequests.heading", defaultMessage: "Special requests (optional)", })}