diff --git a/package.json b/package.json index 194d9e0..a0e3954 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "registry": "https://npm.pkg.github.com" }, "repository": "git://github.com/contacto-io/contacto-console", - "version": "0.4.90", + "version": "0.4.91", "main": "build/index.js", "module": "build/index.es.js", "files": [ diff --git a/src/components/Modal/index.js b/src/components/Modal/index.js index 42ab8ec..868ba80 100644 --- a/src/components/Modal/index.js +++ b/src/components/Modal/index.js @@ -11,7 +11,8 @@ export const FooterBlock = (props) => { {props.children} @@ -28,6 +29,7 @@ export const Modal = ({ okButtonProps, cancelButtonProps, width, + footerProps = {}, ...props }) => { return ( @@ -37,10 +39,10 @@ export const Modal = ({ width={width} footer={ footerButtons?.length ? ( - {footerButtons.map((button) => button)} + {footerButtons.map((button) => button)} ) : ( (okButtonProps || cancelButtonProps) && ( - +