// Copyright 2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import type { LocalizerType } from '../types/Util'; import { useEscapeHandling } from '../hooks/useEscapeHandling'; export type PropsType = { closeAbout: () => unknown; environment: string; i18n: LocalizerType; version: string; }; export function About({ closeAbout, environment, i18n, version, }: PropsType): JSX.Element { useEscapeHandling(closeAbout); return (
{version}
{environment}
signal.org

{i18n('icu:softwareAcknowledgments')}
{i18n('icu:privacyPolicy')}
); }