@indielayer/ui
Version:
Indielayer UI Components with Tailwind CSS build for Vue 3
8 lines (7 loc) • 320 B
TypeScript
import { type ComputedRef } from 'vue';
import type { CachedBounds, SizeFunction } from './types';
export declare function useCachedBounds<Props extends object>({ itemCount, itemProps, itemSize, }: {
itemCount: number;
itemProps: Props;
itemSize: number | SizeFunction<Props>;
}): ComputedRef<CachedBounds>;