import type { ReactNode, Ref } from "react"; import type { TextProps as AriaTextProps } from "react-aria-components"; import { Text as AriaText } from "react-aria-components"; import { cx } from "@/utils/cx"; interface HintTextProps extends AriaTextProps { /** Indicates that the hint text is an error message. */ isInvalid?: boolean; ref?: Ref; children: ReactNode; } export const HintText = ({ isInvalid, className, ...props }: HintTextProps) => { return ( ); }; HintText.displayName = "HintText";