c-react-hooks
Version:
common react hooks
12 lines (11 loc) • 356 B
TypeScript
import { MutableRefObject } from "react";
export type UsePageMaxHeightProps = {
extraHeight?: number;
wrapperRef: MutableRefObject<HTMLDivElement | null>;
targetClassName?: string;
position?: "top" | "bottom";
};
export declare const usePageMaxHeight: (props: UsePageMaxHeightProps) => {
maxHeight: any;
setRefreshComputed: any;
};