/* * SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */ import React from 'react' import { Button, Modal } from 'react-bootstrap' import { Trans, useTranslation } from 'react-i18next' import { CommonModal } from '../../common/modals/common-modal' export interface MaxLengthWarningModalProps { show: boolean onHide: () => void maxLength: number } export const MaxLengthWarningModal: React.FC = ({ show, onHide, maxLength }) => { useTranslation() return ( ) }