🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
'use client';
import { Button, ModalFooter, useModalContext } from '@lobehub/ui';
import { type FC } from 'react';
import { useTranslation } from 'react-i18next';
interface FooterProps {
formId: string;
loading: boolean;
}
const TestCaseEditFooter: FC<FooterProps> = ({ formId, loading }) => {
const { t } = useTranslation('eval');
const { close } = useModalContext();
return (
<ModalFooter>
<Button disabled={loading} onClick={close}>
{t('common.cancel')}
</Button>
<Button form={formId} htmlType="submit" loading={loading} type="primary">
{t('common.update')}
</Button>
</ModalFooter>
);
};
export default TestCaseEditFooter;