import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
import * as __WEBPACK_EXTERNAL_MODULE_react_i18next__ from "react-i18next";
import * as __WEBPACK_EXTERNAL_MODULE__hooks_index_mjs__ from "../../hooks/index.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__Summary_mjs__ from "./Summary.mjs";
const TemplateSummary = (props)=>{
    const { t } = (0, __WEBPACK_EXTERNAL_MODULE_react_i18next__.useTranslation)();
    const { getTemplate } = (0, __WEBPACK_EXTERNAL_MODULE__hooks_index_mjs__.useCollectionManager_deprecated)();
    const schema = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>getTemplate(props.schemaKey), [
        getTemplate,
        props.schemaKey
    ]);
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__Summary_mjs__["default"], {
        label: t('Collection template'),
        schema: schema
    });
};
TemplateSummary.displayName = 'TemplateSummary';
export { TemplateSummary };
