import { Switch } from 'antd' ; import type { NotToggleProps } from 'react-querybuilder' ; const AntDNotToggle = ( { className , handleOnChange , label , checked , title , disabled , } ) => ( < Switch title = { title } className = { className } onChange = { v => handleOnChange ( v ) } checked = { ! ! checked } disabled = { disabled } checkedChildren = { label } unCheckedChildren = "=" / > ) ; AntDNotToggle . displayName = 'AntDNotToggle' ; export default AntDNotToggle ;