Begin integration of dotnet backend with biergarten nextjs code

This commit is contained in:
Aaron Po
2026-01-26 18:52:16 -05:00
parent 3d8b17320a
commit 7dc7ef4b1a
345 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { FunctionComponent } from 'react';
/**
* @example
* <FormError>Something went wrong!</FormError>;
*/
const FormError: FunctionComponent<{ children: string | undefined }> = ({ children }) =>
children ? (
<div
className="my-1 h-3 text-xs font-semibold italic text-error-content"
role="alert"
>
{children}
</div>
) : null;
export default FormError;