<commit_before>import React from 'react'
import numeral from 'numeral'

export default (props) => {
  const formattedFileSize = numeral(props.fileSize).format('0.[0] b')
  const nameAndSize = props.fileName + ' (' + formattedFileSize + ')'

  const removeAttachment = () => props.removeAttachment(props.id)

  const imageAttributes = {
    src: props.thumbnailUrl,
    alt: nameAndSize,
    width: props.imageSizes.t ? props.imageSizes.t.w : undefined,
    height: props.imageSizes.t ? props.imageSizes.t.h : undefined<commit_msg>Display original width and height in a tooltip<commit_after>import React from 'react'
import numeral from 'numeral'

export default (props) => {
  const formattedFileSize = numeral(props.fileSize).format('0.[0] b')
  const formattedImageSize = (props.imageSizes.o ? `, ${props.imageSizes.o.w}×${props.imageSizes.o.h}px` : '')
  const nameAndSize = props.fileName + ' (' + formattedFileSize + formattedImageSize + ')'

  const removeAttachment = () => props.removeAttachment(props.id)

  const imageAttributes = {
    src: props.thumbnailUrl,
    alt: nameAndSize,
    width: props.imageSizes.t ? props.imageSizes.t.w : undefined,
    height: props.imageSizes.t ? props.imageSizes.t.h : undefined
{'fraction_non_alphanumeric': 0.13224489795918368, 'fraction_numerical': 0.0032653061224489797, 'mean_word_length': 4.448888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '119026', 'n_tokens_mistral': 385, 'n_tokens_neox': 391, 'n_words': 83}