Skip to content

Commit

Permalink
fix: changed prop typing
Browse files Browse the repository at this point in the history
  • Loading branch information
barttom committed Jan 18, 2024
1 parent 8f99658 commit 2eed3fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Form/FormWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit 2eed3fe

Please sign in to comment.