import {memo} from "@wordpress/element"; import Icon from "../../utils/Icon"; import * as Checkbox from '@radix-ui/react-checkbox'; interface CheckboxInputProps { label: string; value: boolean; id: string; onChange: (value: boolean) => void; required?: boolean; disabled?: boolean; } const CheckboxInput = ({ label, value, id, onChange, disabled, }:CheckboxInputProps) => { return ( {!value && } ); }; export default memo(CheckboxInput);