UNPKG

tav-ui

Version:
11 lines (10 loc) 445 B
import type { ComputedRef, Ref } from 'vue'; import type { FormActionType, FormProps, FormSchema } from '../types/form'; interface UseAutoFocusContext { getSchema: ComputedRef<FormSchema[]>; getProps: ComputedRef<FormProps>; isInitedDefault: Ref<boolean>; formElRef: Ref<FormActionType>; } export declare function useAutoFocus({ getSchema, getProps, formElRef, isInitedDefault, }: UseAutoFocusContext): Promise<void>; export {};