// Copyright 2025 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React, { useCallback } from 'react'; import { Modal } from './Modal'; import { Button } from './Button'; import { I18n } from './I18n'; import type { LocalizerType } from '../types/Util'; import { openLinkInWebBrowser } from '../util/openLinkInWebBrowser'; export type DonationPrivacyInformationModalProps = { i18n: LocalizerType; onClose: () => void; }; export function DonationPrivacyInformationModal({ i18n, onClose, }: DonationPrivacyInformationModalProps): JSX.Element { const handleDonationFAQsClick = () => { openLinkInWebBrowser( 'https://support.signal.org/hc/articles/360031949872-Donor-FAQs' ); }; const modalFooter = (
{parts}
, [] ); return (