import { memo } from 'react'; import type { ButtonProps } from '@fluentui/react-components'; import { Button } from '@fluentui/react-components'; import { ArrowSortUpRegular, ArrowSortDownRegular, CopyRegular, SubtractRegular, DismissRegular, } from '@fluentui/react-icons'; import type { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils'; import { TranslatableString } from '@rjsf/utils'; export type FluentIconButtonProps< T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any, > = IconButtonProps & Omit; function FluentIconButtonFn( props: FluentIconButtonProps, ) { const { color, uiSchema, registry, ...otherProps } = props; return