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