import { FC } from 'react'; import { FormInstance } from 'antd/es/form'; import { IAddableSectionProps } from '../AddableSection'; import type { TRenderLabel, TRenderAddItem, TRenderFooter } from './types'; import './style'; declare type OmitIAddableSectionProps = Omit; interface IProps extends OmitIAddableSectionProps { /** * @description form field name */ name: string; /** * @description parent field name(not manual setting) */ parentName?: string; /** * @description is preview mode(not manual setting) */ preview?: boolean; /** * @description FormInstance */ form: FormInstance; /** * @description Render custom Label section */ renderLabel?: TRenderLabel; /** * @description Render custom Add Item section */ renderAddItem?: TRenderAddItem; /** * @description Render custom Footer section */ renderFooter?: TRenderFooter; /** * @description set step button visible(Iglooform is passed implicitly, not manually.) */ setShowStepButton?: (showButton: boolean) => void; /** * @description set step button visible */ stepButtonVisible?: boolean; } declare const FormAddableSection: FC; export default FormAddableSection;