UNPKG

@react-querybuilder/material

Version:

Custom MUI (Material Design) components for react-querybuilder

15 lines (14 loc) 653 B
import type { Button } from "@mui/material"; import * as React from "react"; import type { ShiftActionsProps } from "react-querybuilder"; import type { RQBMaterialComponents } from "./types"; /** * @group Props */ export interface MaterialShiftActionsProps extends ShiftActionsProps, React.ComponentPropsWithoutRef<typeof Button> { muiComponents?: RQBMaterialComponents; } /** * @group Components */ export declare const MaterialShiftActions: ({ path, shiftUp, shiftDown, shiftUpDisabled, shiftDownDisabled, disabled, className, labels, titles, testID, muiComponents: muiComponentsProp,...otherProps }: MaterialShiftActionsProps) => React.JSX.Element;