react-konva-grid
Advanced tools
Comparing version 2.5.9 to 2.6.0
@@ -118,3 +118,3 @@ import React, { Key } from "react"; | ||
*/ | ||
children: (props: ChildrenProps) => React.ReactNode; | ||
children: (props: ScrollCoords) => React.ReactNode; | ||
/** | ||
@@ -125,6 +125,2 @@ * Props that can be injected to Konva stage | ||
} | ||
export interface ChildrenProps { | ||
x: number; | ||
y: number; | ||
} | ||
export declare type RefAttribute = { | ||
@@ -131,0 +127,0 @@ ref?: React.MutableRefObject<GridRef>; |
@@ -913,4 +913,4 @@ "use strict"; | ||
children({ | ||
x: -scrollLeft, | ||
y: -scrollTop, | ||
scrollLeft, | ||
scrollTop, | ||
}))), | ||
@@ -917,0 +917,0 @@ showScrollbar ? (react_1.default.createElement(react_1.default.Fragment, null, |
{ | ||
"name": "react-konva-grid", | ||
"description": "Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets", | ||
"version": "2.5.9", | ||
"version": "2.6.0", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14753097
20476