"use client"; import { IconDownload, IconPlus, IconUpload } from "@tabler/icons-react"; import { useTranslation } from "react-i18next"; import { Button } from "@kandev/ui/button"; import { WorkflowSyncButton } from "@/components/settings/workflow-sync-section"; type WorkflowSectionActionsProps = { onExport: () => void; onImport: () => void; onAdd: () => void; onGitHubSync: () => void; }; // WorkflowSectionActions is the toolbar of the Workflows settings section: // GitHub Sync, Export All, Import, and Add Workflow. export function WorkflowSectionActions({ onExport, onImport, onAdd, onGitHubSync, }: WorkflowSectionActionsProps) { const { t } = useTranslation(); return ( // sm:justify-end keeps wrapped rows right-aligned next to the section // title; below sm the toolbar sits under the title, left-aligned.