UNPKG

@react-querybuilder/material

Version:

Custom MUI (Material Design) components for react-querybuilder

16 lines (15 loc) 817 B
import type { Select } from "@mui/material"; import type { ComponentPropsWithoutRef } from "react"; import * as React from "react"; import type { VersatileSelectorProps } from "react-querybuilder"; import type { RQBMaterialComponents } from "./types"; /** * @group Props */ export type MaterialValueSelectorProps = VersatileSelectorProps & ComponentPropsWithoutRef<typeof Select> & { muiComponents?: RQBMaterialComponents; }; /** * @group Components */ export declare const MaterialValueSelector: ({ className, handleOnChange, options, value, disabled, title, multiple, listsAsArrays, testID, rule, ruleGroup, rules, level, path, context, validation, operator, field, fieldData, schema, muiComponents: muiComponentsProp, defaultValue: _defaultValue,...otherProps }: MaterialValueSelectorProps) => React.JSX.Element;