mobile-react-infinite-calendar
Version:
A mobile-optimized infinite scroll calendar component for React
14 lines (13 loc) • 461 B
TypeScript
/**
* 자동 높이 계산 커스텀 훅
*/
import { RefObject } from 'react';
import type { AutoHeightOptions } from '../types';
interface UseAutoHeightProps {
containerRef: RefObject<HTMLDivElement>;
height?: number | 'auto' | string;
autoHeight?: AutoHeightOptions;
onHeightChange: (height: number) => void;
}
export declare function useAutoHeight({ containerRef, height, autoHeight, onHeightChange }: UseAutoHeightProps): void;
export {};