import { useTranslation } from "react-i18next" import { PlaceholderCell } from "../../common/placeholder-cell" import { HttpTypes } from "@medusajs/types" type CollectionCellProps = { collection?: HttpTypes.AdminCollection | null } export const CollectionCell = ({ collection }: CollectionCellProps) => { if (!collection) { return } return (
{collection.title}
) } export const CollectionHeader = () => { const { t } = useTranslation() return (
{t("fields.collection")}
) }