UNPKG

@react-querybuilder/material

Version:

Custom MUI (Material Design) components for react-querybuilder

16 lines (15 loc) 694 B
import type { Switch } from "@mui/material"; import type { ComponentPropsWithoutRef } from "react"; import * as React from "react"; import type { NotToggleProps } from "react-querybuilder"; import type { RQBMaterialComponents } from "./types"; /** * @group Props */ export type MaterialNotToggleProps = NotToggleProps & ComponentPropsWithoutRef<typeof Switch> & { muiComponents?: RQBMaterialComponents; }; /** * @group Components */ export declare const MaterialNotToggle: ({ className, handleOnChange, label, checked, title, disabled, level, path, context, validation, testID, schema, ruleGroup, muiComponents: muiComponentsProp,...otherProps }: MaterialNotToggleProps) => React.JSX.Element;