我需要在tabelCell文本的末尾添加pdf图像
这是我的表格,我希望在文本结束后以某种方式将图像连接起来
<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.
答案 0 :(得分:1)
<TableCell component="th" scope="row" className = {classes.tableCell} >
PDF example download
<div>
<img src="static/image/file-pdf.png"/>
</div>
</TableCell>