Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

631 B
Raw Blame
import { t } from 'i18next';
import { Plus } from 'lucide-react';
import React from 'react';

import { Button } from '@/components/ui/button';

interface BranchesToolbarProps {
  addButtonClicked: () => void;
}

const BranchesToolbar: React.FC<BranchesToolbarProps> = ({
  addButtonClicked,
}) => {
  return (
    <div className="flex items-center gap-2 justify-end mb-2">
      <Button
        variant={'basic'}
        className="gap-1 items-center"
        onClick={addButtonClicked}
      >
        <Plus className="w-4 h-4"></Plus>
        {t('Add Branch')}
      </Button>
    </div>
  );
};

export default BranchesToolbar;