import React from "react"; import { cn } from "~/lib/utils"; export type FormFieldProps = { id?: string; label?: string; error?: string; }; type Props = FormFieldProps & { children?: React.ReactNode; className?: string; }; const FormField = ({ id, label, error, children, className }: Props) => { return (
{error}
: null}