jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
7 lines (6 loc) • 375 B
TypeScript
import type { RefObject } from 'react';
import type { FormItemProps } from '../types';
export declare const useAutoFill: (props: Pick<FormItemProps, "autoFill" | "formStore" | "render" | "data" | "onBulkChange" | "formItem">, controlRef: RefObject<HTMLDivElement>) => {
handleAutoFill: (type: string) => void;
renderAutoFill: () => JSX.Element | null | undefined;
};