/* * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */ import React, { Fragment } from 'react' import { Trans } from 'react-i18next' import { VersionInfoModal } from './version-info-modal' import { cypressId } from '../../../../utils/cypress-attribute' import { useBooleanState } from '../../../../hooks/common/use-boolean-state' import { Button } from 'react-bootstrap' /** * Renders a link for the version info and the {@link VersionInfoModal}. */ export const VersionInfoLink: React.FC = () => { const [modalVisibility, showModal, closeModal] = useBooleanState() return ( ) }