jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
9 lines (8 loc) • 386 B
TypeScript
import type { ScopedComponentType } from 'jamis-core';
import type { FormControlProps } from '../types';
/**
* 用来对 controlRenderer 进行一些处理的逻辑, 目前只对 validate 函数进行的 hook 的注册绑定
*/
export declare const useSetControlRef: <T extends FormControlProps>(props: T) => {
setControlRef: (controlRenderer: ScopedComponentType<T>) => void;
};