import React from 'react';
import { useExamTranslation } from '../../i18n';
import NotificationIcon from '../NotificationIcon';
const AnswerLengthInfo = ({ maxLength, id }) => {
    const { t } = useExamTranslation();
    return (React.createElement("p", { id: id, className: "e-answer-length-info" },
        React.createElement(NotificationIcon, null),
        React.createElement("em", null, t('max-length-info', { count: maxLength }))));
};
export default React.memo(AnswerLengthInfo);
//# sourceMappingURL=AnswerLengthInfo.js.map