import { Translation } from "react-i18next"
import IndeterminateCheckbox from "../../../components/molecules/indeterminate-checkbox"
import ImagePlaceholder from "../../../components/fundamentals/image-placeholder"
export const SALES_CHANNEL_PRODUCTS_TABLE_COLUMNS = [
{
width: 30,
id: "selection",
Header: ({ getToggleAllPageRowsSelectedProps }) => (
),
Cell: ({ row }) => {
return (
e.stopPropagation()}
className="flex justify-center"
>
)
},
},
{
Header: {(t) => t("tables-name", "Name")},
accessor: "title",
Cell: ({ row: { original } }) => {
return (
{original.thumbnail ? (

) : (
)}
{original.title}
)
},
},
{
Header: (
{(t) => t("tables-collection", "Collection")}
),
accessor: "collection",
Cell: ({ cell: { value } }) => {
return {value?.title || "-"}
},
},
]