import React, { ChangeEvent, PropsWithChildren, ReactElement } from 'react'; import { InlineField, InlineSwitch } from '@grafana/ui'; interface VariableSwitchFieldProps { value: boolean; name: string; onChange: (event: ChangeEvent) => void; tooltip?: string; ariaLabel?: string; } export function VariableSwitchField({ value, name, tooltip, onChange, ariaLabel, }: PropsWithChildren): ReactElement { return ( ); }