"use client";

import { createMasterHeaderActions } from "@/app/dashboard/_lib/create-master-header-actions";

import { MasterBulkTranslateActions } from "@/app/dashboard/_components/master-translate/master-bulk-translate-actions";
import type { CountryRow } from "./schema";
import { exportCountriesSummaryCsv } from "./export-csv";

export const CountriesHeaderActions = createMasterHeaderActions<CountryRow>({
  createHref: "/dashboard/master/countries/create",
  onExport: exportCountriesSummaryCsv,
  prefixActions: <MasterBulkTranslateActions />,
});
