import { useId } from '@react-aria/utils'; import React, { ChangeEvent, PropsWithChildren, ReactElement } from 'react'; import { Checkbox } from '@grafana/ui'; interface VariableCheckboxFieldProps extends React.HTMLAttributes { value: boolean; name: string; onChange: (event: ChangeEvent) => void; description?: string; ariaLabel?: string; testId?: string; } export function VariableCheckboxField({ value, name, description, onChange, ariaLabel, testId, }: PropsWithChildren): ReactElement { const uniqueId = useId(); return ( ); }