Files
web/components/Forms/BookingWidget/FormContent/Input/index.tsx
2024-12-12 11:47:44 +01:00

20 lines
490 B
TypeScript

import React, { forwardRef, type InputHTMLAttributes } from "react"
import { Input as InputRAC } from "react-aria-components"
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>
<InputRAC {...props} ref={ref} className={styles.input} />
</Body>
)
})
export default Input