@orca-fe/antd-plus
Version:
Transformer Container
15 lines (14 loc) • 647 B
TypeScript
import type { ReactElement } from 'react';
import type { NamePath } from 'antd/lib/form/interface';
export type FormItemMappingProps = {
/** 属性名映射 */
valueMapping?: Record<string, NamePath>;
/** 事件映射 */
triggerMapping?: Record<string, NamePath>;
/** 是否注入到子组件中,如果需要开发者自行更改注入方式,可以设置为 false */
inject?: boolean;
/** 子组件 */
children?: ReactElement;
};
export declare function FormItemMapping(props: FormItemMappingProps): ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
export default FormItemMapping;