I am trying to create a column that in his entries will include a small picture and a name. How can I do so using Ant Design's table?
https://ant.design/components/table/ I can't seem to find anything related in the docs or the examples.
If you were using the table in a similar way as to the examples shown in their docs.(Using a datasource array)
You could do something like this
const columns = [
{
title: '',
dataIndex: 'image_URL_here',
render: () => <img src={`image_URL_here`} />
}
]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With