@wufengteam/wform
Version:
@wufengteam/wform
20 lines (19 loc) • 583 B
TypeScript
import React from 'react';
import type { FC } from 'react';
import { FormItemProps } from 'antd';
import './index.less';
export interface FieldItemProps extends Omit<FormItemProps, 'status'> {
/**
* 字段属性 read--只读 hide--隐藏 addHide--新增时隐藏
*/
fieldAttr?: string[];
titleTip?: 'text' | 'notext';
tipLocation?: 'after' | 'before';
tipContent?: string;
tipIcon?: any;
tipPlacement?: any;
children: React.ReactElement;
[key: string]: any;
}
declare const PCFieldItem: FC<FieldItemProps>;
export default PCFieldItem;