import React from "react"; export default function Checkbox({ value, name, onChange, label = '', error, disabled = false }) { return ( <>
{label !== '' && ( )}
{error && (

{error}

)} ) }