import { SendouFieldError } from "~/components/elements/FieldError";
import { SendouFieldMessage } from "~/components/elements/FieldMessage";
// TODO: deprecate in favor of FormMessage
export function SendouBottomTexts({
bottomText,
errorText,
errorId,
}: {
bottomText?: string;
errorText?: string;
errorId?: string;
}) {
return (
<>
{errorText ? (
{errorText}
) : (
)}
{bottomText ? (
{bottomText}
) : null}
>
);
}