From 732b7ed86cb3845fbed0471a217c065c14091b3b Mon Sep 17 00:00:00 2001 From: Rodrigo Martin Date: Fri, 24 May 2024 12:13:42 -0300 Subject: [PATCH] feat(AU-2035): Add disclaimer to AppSettingsModalBase (#1024) --- .../app-settings-modal/AppSettingsModalBase.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages-and-resources/app-settings-modal/AppSettingsModalBase.jsx b/src/pages-and-resources/app-settings-modal/AppSettingsModalBase.jsx index 5863466f38..cc5f1ef091 100644 --- a/src/pages-and-resources/app-settings-modal/AppSettingsModalBase.jsx +++ b/src/pages-and-resources/app-settings-modal/AppSettingsModalBase.jsx @@ -13,6 +13,7 @@ const AppSettingsModalBase = ({ isMobile, children, footer, + disclaimer, isOpen, }) => { const { formatMessage } = useIntl(); @@ -31,6 +32,7 @@ const AppSettingsModalBase = ({ {children} + {disclaimer} {formatMessage(messages.cancel)} @@ -53,11 +55,13 @@ AppSettingsModalBase.propTypes = { isMobile: PropTypes.bool.isRequired, children: PropTypes.node.isRequired, footer: PropTypes.node, + disclaimer: PropTypes.node, isOpen: PropTypes.bool, }; AppSettingsModalBase.defaultProps = { footer: null, + disclaimer: null, }; export default AppSettingsModalBase;