Files
web/components/Forms/BookingWidget/FormContent/Input/index.tsx
2024-10-08 10:49:26 +02:00

19 lines
424 B
TypeScript

import React, { forwardRef, InputHTMLAttributes } from "react"
import Body from "@/components/TempDesignSystem/Text/Body"
import styles from "./input.module.css"
const Input = forwardRef<
HTMLInputElement,
InputHTMLAttributes<HTMLInputElement>
>(function InputComponent(props, ref) {
return (
<Body asChild>
<input {...props} ref={ref} className={styles.input} />
</Body>
)
})
export default Input