import { memo } from 'react'; import type { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils'; import { TranslatableString } from '@rjsf/utils'; import type { ButtonProps } from 'primereact/button'; import { Button } from 'primereact/button'; export type PrimeIconButtonProps< T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any, > = IconButtonProps & Omit; function IconButtonFn( props: PrimeIconButtonProps, ) { const { icon, iconType, uiSchema, registry, ...otherProps } = props; return