UNPKG

y-design-ssr

Version:

SSR component library of YUI with Vue3

15 lines (14 loc) 452 B
import { ComponentInternalInstance } from 'vue'; interface FormItemProvide { setField: <T>(value: T) => void; instance: ComponentInternalInstance | null; getProp: (val: string) => unknown; resetValidation: () => void; change: () => void; validateWithTrigger: (val: string) => void; } interface ReturnFormItemInject { parent: FormItemProvide | null; } export declare const useFormItem: () => ReturnFormItemInject; export {};