UNPKG

@fesjs/fes-design

Version:
18 lines (17 loc) 633 B
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>; };