virtua 0.41.4 → 0.41.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { JSX, ReactElement, ReactNode, RefObject, Ref } from "react";
1
+ import { JSX, ReactElement, ReactNode, RefObject } from "react";
2
2
  import { CacheSnapshot, ScrollToIndexOpts } from "../core";
3
3
  import { CustomContainerComponent, CustomItemComponent } from "./types";
4
4
  /**
@@ -70,8 +70,6 @@ export interface VirtualizerProps {
70
70
  * If you set a function to {@link VirtualizerProps.children}, you have to set total number of items to this prop.
71
71
  */
72
72
  count?: number;
73
- /** Reference to the rendered DOM element. */
74
- domRef?: Ref<HTMLDivElement>;
75
73
  /**
76
74
  * Number of items to render above/below the visible bounds of the list. Lower value will give better performance but you can increase to avoid showing blank items in fast scrolling.
77
75
  * @defaultValue 4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virtua",
3
- "version": "0.41.4",
3
+ "version": "0.41.5",
4
4
  "description": "A zero-config, fast and small (~3kB) virtual list (and grid) component for React, Vue, Solid and Svelte.",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",