@react-querybuilder/chakra
Version:
Custom Chakra UI components for react-querybuilder
12 lines (11 loc) • 560 B
TypeScript
import * as React from "react";
import type { NotToggleProps } from "react-querybuilder";
import type { SwitchProps } from "./snippets/switch";
/**
* @group Props
*/
export interface ChakraNotToggleProps extends NotToggleProps, Omit<SwitchProps, "label"> {}
/**
* @group Components
*/
export declare const ChakraNotToggle: ({ className, handleOnChange, label, checked, title, disabled, path: _path, context: _context, validation: _validation, testID: _testID, schema: _schema, ruleGroup: _ruleGroup,...extraProps }: ChakraNotToggleProps) => React.JSX.Element;