import { jsx } from "react/jsx-runtime";
import "react";
import { useCollection_deprecated } from "../../../collection-manager/index.mjs";
import { GeneralSchemaDesigner, SchemaSettingsRemove } from "../../../schema-settings/index.mjs";
const TableDesigner = ()=>{
    const { name, title } = useCollection_deprecated();
    return /*#__PURE__*/ jsx(GeneralSchemaDesigner, {
        title: title || name,
        children: /*#__PURE__*/ jsx(SchemaSettingsRemove, {
            removeParentsIfNoChildren: true,
            breakRemoveOn: {
                'x-component': 'Grid'
            }
        })
    });
};
export { TableDesigner };
