/* eslint-disable */ // @ts-nocheck import { useTranslation } from "react-i18next"; import { ActionGroup, ActionGroupProps, Button } from "../../../shared/@patternfly/react-core"; import style from "./fixed-buttons.module.css"; type FixedButtonGroupProps = ActionGroupProps & { name: string; save?: () => void; saveText?: string; reset?: () => void; resetText?: string; isSubmit?: boolean; isDisabled?: boolean; }; export const FixedButtonsGroup = ({ name, save, saveText, reset, resetText, isSubmit = false, isDisabled = false, children, ...rest }: FixedButtonGroupProps) => { const { t } = useTranslation(); return ( {(save || isSubmit) && ( )} {reset && ( )} {children} ); };