diff --git a/packages/core/src/components/VirtualizedList/VirtualizedList.tsx b/packages/core/src/components/VirtualizedList/VirtualizedList.tsx index 006fe4bae9..55d2580a94 100644 --- a/packages/core/src/components/VirtualizedList/VirtualizedList.tsx +++ b/packages/core/src/components/VirtualizedList/VirtualizedList.tsx @@ -145,7 +145,7 @@ const VirtualizedList: VibeComponent = forwardRef( className, id, items = [], - itemRenderer = (item: VirtualizedListItem, _index: number, _style: CSSProperties) => item, + itemRenderer = (item: VirtualizedListItem, _index: number, _style: CSSProperties) => item as ReactElement, getItemHeight = (item: VirtualizedListItem, _index: number) => item.height, getItemSize = null, // must be null for backward compatibility layout = "vertical",