diff --git a/packages/core/helper-plugin/src/components/ConfirmDialog.jsx b/packages/core/helper-plugin/src/components/ConfirmDialog.jsx index f22ddb2397..596ddb02cd 100644 --- a/packages/core/helper-plugin/src/components/ConfirmDialog.jsx +++ b/packages/core/helper-plugin/src/components/ConfirmDialog.jsx @@ -55,7 +55,6 @@ export const Root = ({ Root.defaultProps = { iconBody: , - iconRightButton: , isConfirmButtonLoading: false, leftButtonText: { id: 'app.components.Button.cancel', @@ -152,8 +151,12 @@ const Footer = ({ ); }; +Footer.defaultProps = { + iconRightButton: , +}; + Footer.propTypes = { - iconRightButton: PropTypes.node.isRequired, + iconRightButton: PropTypes.node, isConfirmButtonLoading: PropTypes.bool.isRequired, onConfirm: PropTypes.func.isRequired, onToggleDialog: PropTypes.func.isRequired,