import type { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils'; import { TranslatableString } from '@rjsf/utils'; import { Button } from 'primereact/button'; /** The `AddButton` renders a button that represents the `Add` action on a form */ export default function AddButton({ uiSchema, registry, color, ...props }: IconButtonProps) { const { translateString } = registry; return (