我需要将 pdf 图像添加到 tabelCell 文本的末尾
这是我的表格,我希望在文本结束后以某种方式连接图像
<TableCell component="th" scope="row" className = {classes.tableCell} >
PDF example download <div img src="static/image/file-pdf.png"/>
</TableCell>
I would expext that this image would be placed next to the text but this isnt the case.
最佳答案
<TableCell component="th" scope="row" className = {classes.tableCell} >
PDF example download
<div>
<img src="static/image/file-pdf.png"/>
</div>
</TableCell>
关于javascript - 如何将图像添加到表格单元格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55338717/