react-konva-grid
Version:
Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets
11 lines (10 loc) • 485 B
TypeScript
/// <reference types="react" />
import { ShapeConfig } from "konva/types/Shape";
interface BoxProps extends ShapeConfig {
}
/**
* Create a box with custom top/right/bottom/left colors and widths
* @param param0
*/
export declare const createBox: ({ x, y, width, height, fill, stroke, strokeLeftColor, strokeTopColor, strokeRightColor, strokeBottomColor, strokeWidth, strokeTopWidth, strokeRightWidth, strokeBottomWidth, strokeLeftWidth, key, }: BoxProps) => JSX.Element;
export {};