// 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 const About = ({ closeAbout, i18n, environment, version, }: PropsType): JSX.Element => { useEscapeHandling(closeAbout); return (