import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React from 'react';
import { FolderTableCellClient } from './index.client.js';
export const FolderTableCell = (props)=>{
    const titleToRender = (props.collectionConfig.upload ? props.rowData?.filename : props.rowData?.title) || props.rowData.id;
    if (!props.payload.config.folders) {
        return null;
    }
    return /*#__PURE__*/ _jsxDEV(FolderTableCellClient, {
        collectionSlug: props.collectionSlug,
        data: props.rowData,
        docTitle: titleToRender,
        folderCollectionSlug: props.payload.config.folders.slug,
        folderFieldName: props.payload.config.folders.fieldName,
        viewType: props.viewType
    }, void 0, false, {
        fileName: "src/elements/FolderView/Cell/index.server.tsx",
        lineNumber: 17,
        columnNumber: 5
    }, this);
};

//# sourceMappingURL=index.server.js.map