import React from 'react';
import { useExamTranslation } from '../../i18n';
function ExamTranslation({ element }) {
    const { t } = useExamTranslation();
    const key = element.getAttribute('key');
    return React.createElement(React.Fragment, null, t(key));
}
export default React.memo(ExamTranslation);
//# sourceMappingURL=ExamTranslation.js.map