@react-querybuilder/material
Version:
Custom MUI (Material Design) components for react-querybuilder
16 lines (15 loc) • 625 B
TypeScript
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";
/**
* @group Props
*/
export type MaterialDragHandleProps = DragHandleProps & Omit<ComponentPropsWithRef<typeof DragIndicator>, "path"> & {
muiComponents?: RQBMaterialComponents
};
/**
* @group Components
*/
export declare const MaterialDragHandle: React.ForwardRefExoticComponent<Omit<MaterialDragHandleProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;