UNPKG

mantine-react-table

Version:

A fully featured Mantine implementation of TanStack React Table V8, written from the ground up in TypeScript.

12 lines (11 loc) 604 B
import { DragEventHandler } from 'react'; import { ActionIconProps } from '@mantine/core'; import type { HTMLPropsRef, MRT_TableInstance } from '..'; interface Props<TData extends Record<string, any> = {}> { actionIconProps?: ActionIconProps & HTMLPropsRef<HTMLButtonElement>; onDragStart: DragEventHandler<HTMLButtonElement>; onDragEnd: DragEventHandler<HTMLButtonElement>; table: MRT_TableInstance<TData>; } export declare const MRT_GrabHandleButton: <TData extends Record<string, any> = {}>({ actionIconProps, onDragEnd, onDragStart, table, }: Props<TData>) => JSX.Element; export {};