fix(virtual-scroll): allow null in items prop (#23047)

Co-authored-by: Robert Rhoades <studioromeo@users.noreply.github.com>
This commit is contained in:
Liam DeBeasi
2021-03-15 12:16:55 -04:00
committed by GitHub
parent 4ce62b26a8
commit 2a253a1d33

View File

@ -71,7 +71,7 @@ export declare interface IonVirtualScroll {
* entire virtual scroll is reset, which is an expensive operation and
* should be avoided if possible.
*/
items?: any[];
items?: any[] | null;
/**
* An optional function that maps each item within their height.