diff --git a/app/components/p8p_fullscreen_dialog.js b/app/components/p8p_fullscreen_dialog.js index c51a4ff..b37fd3a 100644 --- a/app/components/p8p_fullscreen_dialog.js +++ b/app/components/p8p_fullscreen_dialog.js @@ -27,7 +27,7 @@ const STYLES = { //----------- //Полноэкранный диалог -const P8PFullScreenDialog = ({ title, onClose, children }) => { +const P8PFullScreenDialog = ({ title, onClose, contentProps, children }) => { const handleClose = () => { onClose ? onClose() : null; }; @@ -46,7 +46,7 @@ const P8PFullScreenDialog = ({ title, onClose, children }) => { - {children} + {children} ); }; @@ -55,7 +55,8 @@ const P8PFullScreenDialog = ({ title, onClose, children }) => { P8PFullScreenDialog.propTypes = { title: PropTypes.string.isRequired, onClose: PropTypes.func, - children: PropTypes.element + children: PropTypes.element, + contentProps: PropTypes.object }; //----------------