From e22095c7932aab467c10faaafcc7f62845a0a5d3 Mon Sep 17 00:00:00 2001 From: Jiankian Date: Fri, 12 Jan 2024 04:41:42 +0800 Subject: [PATCH] add List InnerProps export --- package.json | 2 +- src/List.tsx | 1 + src/index.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 500bd1e7..a2343d61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-virtual-list", - "version": "3.11.3", + "version": "3.11.4", "description": "React Virtual List Component", "engines": { "node": ">=8.x" diff --git a/src/List.tsx b/src/List.tsx index b7cd8f9d..52e82d35 100644 --- a/src/List.tsx +++ b/src/List.tsx @@ -6,6 +6,7 @@ import type { ResizeObserverProps } from 'rc-resize-observer'; import ResizeObserver from 'rc-resize-observer'; import Filler from './Filler'; import type { InnerProps } from './Filler'; +export type { InnerProps } from './Filler'; import type { ScrollBarDirectionType, ScrollBarRef } from './ScrollBar'; import ScrollBar from './ScrollBar'; import type { RenderFunc, SharedConfig, GetKey, ExtraRenderInfo } from './interface'; diff --git a/src/index.ts b/src/index.ts index a312aa0d..0162fa5f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ import List from './List'; -export type { ListRef, ListProps } from './List'; +export type { ListRef, ListProps, InnerProps } from './List'; export default List;