import clsx from "clsx"; import type * as React from "react"; import { FieldError, Text } from "react-aria-components"; import styles from "./FormMessage.module.css"; export function FormMessage({ children, type, className, spaced = true, id, }: { children: React.ReactNode; type: "error" | "info"; className?: string; spaced?: boolean; id?: string; }) { return (
{children}
); } /** Field-level error, wired to the surrounding React Aria field's validation. */ export function SendouFieldError({ children, id, }: { children?: React.ReactNode; id?: string; }) { return ( {children} ); } /** Field-level hint below an input. */ export function SendouFieldMessage({ children, }: { children: React.ReactNode; }) { return ( {children} ); }