Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

832 B
Raw Blame
import { useTranslation } from "react-i18next";
import { IMPORT_SOURCES } from "@/components/import/import-source-definitions";
import { ImportSourceRow } from "@/components/import/import-source-row";
import { SettingsSectionHeader } from "@/components/settings/settings-section-header";

export function ImportSourcePicker() {
  const { t } = useTranslation();

  return (
    <section className="space-y-3">
      <SettingsSectionHeader
        title={t("settings:workspaceImport.sources.title")}
        description={t("settings:workspaceImport.sources.description")}
      />
      <ul className="divide-y divide-border overflow-hidden rounded-xl border border-border bg-card">
        {IMPORT_SOURCES.map((source) => (
          <ImportSourceRow key={source.id} source={source} />
        ))}
      </ul>
    </section>
  );
}