From afbb33c90f261593b5954d92eabbe7020c1392cb Mon Sep 17 00:00:00 2001 From: Mikhail Chechnev Date: Wed, 23 Jul 2025 01:23:35 +0300 Subject: [PATCH] =?UTF-8?q?WEBAPP:=20=D0=9F=D0=B0=D0=BD=D0=B5=D0=BB=D1=8C?= =?UTF-8?q?=20=D0=B8=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BC=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=B0=20-=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=8C=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B8=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/editors/p8p_editor_toolbar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/editors/p8p_editor_toolbar.js b/app/components/editors/p8p_editor_toolbar.js index d68e373..bc01d08 100644 --- a/app/components/editors/p8p_editor_toolbar.js +++ b/app/components/editors/p8p_editor_toolbar.js @@ -19,6 +19,7 @@ import { IconButton, Icon, Stack } from "@mui/material"; //Интерфейсн const P8P_EDITOR_TOOL_BAR_ITEM_SHAPE = PropTypes.shape({ icon: PropTypes.string.isRequired, title: PropTypes.string.isRequired, + disabled: PropTypes.bool, onClick: PropTypes.func.isRequired }); @@ -32,7 +33,7 @@ const P8PEditorToolBar = ({ items = [] }) => { return ( {items.map((item, i) => ( - + {item.icon} ))}