@react-querybuilder/material
Version:
Custom MUI (Material Design) components for react-querybuilder
16 lines (15 loc) • 717 B
text/typescript
import type { Button } from "@mui/material";
import type { ComponentPropsWithoutRef } from "react";
import * as React from "react";
import type { ActionProps } from "react-querybuilder";
import type { RQBMaterialComponents } from "./types.mjs";
/**
* @group Props
*/
export interface MaterialActionProps extends ActionProps, ComponentPropsWithoutRef<typeof Button> {
muiComponents?: RQBMaterialComponents;
}
/**
* @group Components
*/
export declare const MaterialActionElement: ({ className, handleOnClick, label, title, disabled, disabledTranslation, testID, path, level, rules, context, validation, ruleOrGroup, schema, muiComponents: muiComponentsProp,...otherProps }: MaterialActionProps) => React.JSX.Element;