@remirror/extension-react-tables
Version:
Create tables with nested react components.
30 lines (29 loc) • 993 B
TypeScript
import React, { MouseEventHandler } from 'react';
import type { UsePositionerReturn } from '@remirror/react-hooks';
export interface TableDeleteRowColumnInnerButtonProps {
/**
* The position of the button
*/
position: UsePositionerReturn;
/**
* The action when the button is pressed.
*/
onClick: MouseEventHandler;
/**
* The action when the mouse is pressed on the button.
*/
onMouseDown: MouseEventHandler;
/**
* The action when the mouse is over the button.
*/
onMouseOver: MouseEventHandler;
/**
* The action when the mouse level the button.
*/
onMouseOut: MouseEventHandler;
}
export declare const TableDeleteRowColumnInnerButton: React.FC<TableDeleteRowColumnInnerButtonProps>;
export interface TableDeleteRowColumnButtonProps {
Component?: React.ComponentType<TableDeleteRowColumnInnerButtonProps>;
}
export declare const TableDeleteRowColumnButton: React.FC<TableDeleteRowColumnButtonProps>;