Skip to content

Commit

Permalink
Fix dialog hideTriggerIgnoreClass prop type to accept array (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
MosheZemah authored Jan 12, 2022
1 parent 57bc126 commit 96e1d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Dialog/Dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,11 @@ Dialog.propTypes = {
/**
* if this class exists on the children the show trigger will be ignored
*/
showTriggerIgnoreClass: PropTypes.string,
showTriggerIgnoreClass: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
/**
* if this class exists on the children the hide trigger will be ignored
*/
hideTriggerIgnoreClass: PropTypes.string,
hideTriggerIgnoreClass: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
/**
* Dialog animation type
*/
Expand Down

0 comments on commit 96e1d16

Please sign in to comment.