@af-utils/virtual-react
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -6,4 +6,2 @@ /** | ||
/// <reference types="react" /> | ||
import type { ComponentProps } from 'react'; | ||
@@ -62,3 +60,3 @@ import { ElementType } from 'react'; | ||
*/ | ||
export declare function mapVisibleRange(model: VirtualScroller, cb: (index: number) => JSX.Element): JSX.Element[]; | ||
export declare function mapVisibleRange<T>(model: VirtualScroller, cb: (index: number) => T): T[]; | ||
@@ -78,3 +76,3 @@ /** | ||
*/ | ||
export declare function mapVisibleRangeWithOffset(model: VirtualScroller, cb: (index: number, offset: number) => JSX.Element): JSX.Element[]; | ||
export declare function mapVisibleRangeWithOffset<T>(model: VirtualScroller, cb: (index: number, offset: number) => T): T[]; | ||
@@ -81,0 +79,0 @@ /** |
{ | ||
"name": "@af-utils/virtual-react", | ||
"private": false, | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "React components and hooks for rendering large scrollable data", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/nowaalex/af-utils.git", |
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
32936
379