From 2eed3fed0de6dfbaa46eef2181aaedef24699c70 Mon Sep 17 00:00:00 2001 From: bartektomczyk Date: Thu, 18 Jan 2024 09:51:25 +0100 Subject: [PATCH] fix: changed prop typing --- src/components/Form/FormWrapper.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Form/FormWrapper.js b/src/components/Form/FormWrapper.js index 4fda389433f0..ef7eba3855e9 100644 --- a/src/components/Form/FormWrapper.js +++ b/src/components/Form/FormWrapper.js @@ -58,8 +58,7 @@ const propTypes = { style: stylePropTypes, /** Submit button container styles */ - // eslint-disable-next-line react/forbid-prop-types - submitButtonStyles: PropTypes.arrayOf(PropTypes.object), + submitButtonStyles: stylePropTypes, /** Custom content to display in the footer after submit button */ footerContent: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),