UNPKG

@z-cloud/virtual-taro

Version:

一个基于React + TS开发的虚拟列表,支持瀑布流、grid的组件。

17 lines 619 B
import { IntersectionObserver } from '@tarojs/taro'; import { CSSProperties } from 'react'; export type ResizeResult = IntersectionObserver.RelativeRectResult & { width: number; height: number; }; type ResizableProps = { children: React.ReactNode; listId: string; emitWhenMounted?: boolean; className?: string; style?: CSSProperties; onResize?: (res: ResizeResult) => void; }; export declare function Resizable({ children, className, style, emitWhenMounted, listId, onResize, }: ResizableProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=resizable.d.ts.map