import { ReactElement, ReactNode } from 'react'; import type { FieldProps } from 'rc-field-form/lib/Field'; import { ListItemProps } from '../list-item'; type RcFieldProps = Omit; export interface FormItemProps extends RcFieldProps { /** 底部边框还是整个边框 */ type?: 'bottom' | 'all'; /** 保持组件原始样式 */ noStyle?: boolean; /** 子组件 */ children: ReactElement; } export interface FormListItemProps extends RcFieldProps, Pick { /** 表单项标签文本 */ label: ReactNode; /** 保持组件原始样式 */ noStyle?: boolean; /** 子组件 */ children: ReactElement; } export {}; //# sourceMappingURL=type.d.ts.map