mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-15 09:45:10 -05:00
* Initial * Progress * Form fields fun * Pov * Progress * Some errors * Progress * Progress * Progress * Progress * Comment * Progress * Remove comment * Fix editing * Redundant check
10 lines
261 B
TypeScript
10 lines
261 B
TypeScript
import { FieldError as ReactAriaFieldError } from "react-aria-components";
|
|
|
|
export function SendouFieldError({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<ReactAriaFieldError className="error-message">
|
|
{children}
|
|
</ReactAriaFieldError>
|
|
);
|
|
}
|