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} ))}