diff --git a/packages/core/useInfiniteScroll/index.ts b/packages/core/useInfiniteScroll/index.ts index 71fb7653214..bf335f4c9eb 100644 --- a/packages/core/useInfiniteScroll/index.ts +++ b/packages/core/useInfiniteScroll/index.ts @@ -17,7 +17,7 @@ export interface UseInfiniteScrollOptions extends UseScrollOptions { * * @default 'bottom' */ - direction?: 'top' | 'bottom' + direction?: 'top' | 'bottom' | 'left' | 'right' /** * Whether to preserve the current scroll position when loading more items.