import { FormScope, useField } from "@rvf/remix"; export const CheckboxInput = ({ scope, name, label, placeholder, }: { scope: FormScope; name: string; label: string; placeholder: string; }) => { const { error, getInputProps } = useField(scope); return ( <> {error ? ( {error()} ) : null} ); };