/** * Email → Delivery: admin/from identity and optional SMTP only. */ import React from "react"; import { Info } from "lucide-react"; import { __ } from "../../lib/i18n"; import { Input } from "../ui/input"; import { Select } from "../ui/select"; import { Label } from "../ui/label"; import type { EmailFieldChangeHandler, EmailSettingsValues, } from "./email-settings-types"; const Field = React.memo( ({ id, label, description, required = false, children, }: { id: string; label: string; description?: React.ReactNode; required?: boolean; children: React.ReactNode; }) => (
{__( "Use custom SMTP server instead of default WordPress mail", "yatra", )}