You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
704 B
TypeScript

// frontend/components/settings/MailTab.tsx — 메일 계정 연결
"use client";
import { ConnectorList } from "./ConnectorList";
import type { ToastFn } from "./SettingsClient";
export function MailTab({ toast }: { toast: ToastFn }) {
return (
<ConnectorList
title="메일 계정"
subtitle="연결된 메일함은 아리가 자동 분류·요약하고, 할 일과 일정으로 정리해요."
icon="mail"
filter={(c) => c.domain === "mail"}
toast={toast}
showSyncAll
emptyText="연결된 메일 계정이 없어요. ‘계정 추가’로 Gmail·Outlook을 연결하세요."
addDomain="mail"
redirectAfter="/settings?tab=mail"
/>
);
}