@fesjs/fes-design
Version:
fes-design for PC
18 lines (17 loc) • 633 B
TypeScript
import { type ComputedRef } from 'vue';
import type { ModalInnerProps } from './props';
export declare const useContentMaxHeight: (styles: ComputedRef<{
width?: undefined;
marginTop?: undefined;
marginBottom?: undefined;
} | {
width: string;
marginTop: string | number;
marginBottom: string | number;
}>, props: ModalInnerProps) => {
modalRef: import("vue").Ref<HTMLElement, HTMLElement>;
modalHeaderRef: import("vue").Ref<HTMLElement, HTMLElement>;
modalFooterRef: import("vue").Ref<HTMLElement, HTMLElement>;
contentMaxHeight: ComputedRef<number>;
hasMaxHeight: ComputedRef<boolean>;
};