import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
// eslint-disable-next-line payload/no-imports-from-exports-dir
import { MoveDocToFolder } from '../../../exports/client/index.js';
import './index.scss';
const baseClass = 'folder-edit-field';
export const FolderField = (props)=>{
    if (props.payload.config.folders === false) {
        return null;
    }
    return /*#__PURE__*/ _jsxDEV(MoveDocToFolder, {
        className: baseClass,
        folderCollectionSlug: props.payload.config.folders.slug,
        folderFieldName: props.payload.config.folders.fieldName
    }, void 0, false, {
        fileName: "src/elements/FolderView/FolderField/index.server.tsx",
        lineNumber: 14,
        columnNumber: 5
    }, this);
};

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