import { useTranslation } from "react-i18next";
import { useSchemaInitializer } from "../../application/index.mjs";
import { blockSchema } from "./blockSchema.mjs";
const quickAccessBlockInitializerItem = {
    type: 'item',
    name: 'quickAccessBlock',
    icon: 'FileImageOutlined',
    useComponentProps () {
        const { t } = useTranslation();
        const { insert } = useSchemaInitializer();
        return {
            title: t('Quick access'),
            onClick: ()=>{
                insert(blockSchema);
            }
        };
    }
};
export { quickAccessBlockInitializerItem };
