yanzhen-design-vue
Version:
10 lines (9 loc) • 445 B
TypeScript
import { NamePath } from 'ant-design-vue/es/form/interface';
import { ComputedRef, InjectionKey } from 'vue';
export interface FormItemGroupContext {
id: ComputedRef<(string | number)[] | undefined>;
onFieldBlur: (name?: NamePath | null) => void;
onFieldChange: (name?: NamePath | null) => void;
clearValidate: (name?: NamePath | null) => void;
}
export declare const FormItemGroupContextKey: InjectionKey<FormItemGroupContext>;