react-virtuoso 4.7.10 → 4.7.11
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.
- package/README.md +1 -6
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,12 +95,7 @@ To run the tests, use `npm run test`.
|
|
|
95
95
|
An end-to-end browser-based test suite is runnable with `npm run e2e`, with the pages being `e2e/*.tsx` and the tests `e2e/*.test.ts`.
|
|
96
96
|
|
|
97
97
|
A convenient way to debug something is to preview the test cases in the browser.
|
|
98
|
-
To do that, run `npm run
|
|
99
|
-
|
|
100
|
-
### Docs
|
|
101
|
-
|
|
102
|
-
The documentation site is built with docusaurus and the content is available in the `site/docs` directory.
|
|
103
|
-
The API reference is generated from the doc comments in `src/components.tsx`.
|
|
98
|
+
To do that, run `npm run dev` - it will launch a Ladle server that lets you browse the components in the `examples` folder.
|
|
104
99
|
|
|
105
100
|
## License
|
|
106
101
|
|
package/dist/index.d.ts
CHANGED
|
@@ -580,8 +580,9 @@ export declare interface TableVirtuosoProps<D, C> extends Omit<VirtuosoProps<D,
|
|
|
580
580
|
};
|
|
581
581
|
/**
|
|
582
582
|
* Set to a value between 0 and totalCount - 1 to make the list start scrolled to that item.
|
|
583
|
+
* Pass in an object to achieve additional effects similar to `scrollToIndex`.
|
|
583
584
|
*/
|
|
584
|
-
initialTopMostItemIndex?: number;
|
|
585
|
+
initialTopMostItemIndex?: number | IndexLocationWithAlign;
|
|
585
586
|
/**
|
|
586
587
|
* Set this value to offset the initial location of the list.
|
|
587
588
|
* Warning: using this property will still run a render cycle at the scrollTop: 0 list window.
|