UNPKG

@react-querybuilder/material

Version:

Custom MUI (Material Design) components for react-querybuilder

16 lines (15 loc) 637 B
import type DragIndicator from "@mui/icons-material/DragIndicator"; import type { ComponentPropsWithRef } from "react"; import * as React from "react"; import type { DragHandleProps } from "react-querybuilder"; import type { RQBMaterialComponents } from "./types.mjs"; /** * @group Props */ export interface MaterialDragHandleProps extends DragHandleProps, Omit<ComponentPropsWithRef<typeof DragIndicator>, "path"> { muiComponents?: RQBMaterialComponents; } /** * @group Components */ export declare const MaterialDragHandle: React.ForwardRefExoticComponent<Omit<MaterialDragHandleProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;