1 import { c } from 'ttag';
3 import Icon from '@proton/components/components/icon/Icon';
4 import Tooltip from '@proton/components/components/tooltip/Tooltip';
6 import { isChainedForwarding } from './helpers';
9 chainedEmails: string[];
13 const WarningChainedForwarding = ({ chainedEmails, forwardEmail }: Props) => {
14 if (!isChainedForwarding(chainedEmails, forwardEmail)) {
19 title={c('email_forwarding_2023: Forwarding tooltip')
20 .t`Emails forwarded to you are excluded and will not be forwarded.`}
23 name="exclamation-triangle-filled"
24 className="mr-2 color-warning"
25 alt={c('email_forwarding_2023: Warning').t`Warning`}
31 export default WarningChainedForwarding;