import React, { useContext } from 'react';
import { NBSP } from '../../dom-utils';
import { AttachmentContext } from '../context/AttachmentContext';
function AttachmentTitle({ element, renderChildNodes }) {
    const { displayNumber } = useContext(AttachmentContext);
    return (React.createElement("h3", null,
        displayNumber,
        NBSP,
        renderChildNodes(element)));
}
export default React.memo(AttachmentTitle);
//# sourceMappingURL=AttachmentTitle.js.map