CR Update: Improve ohifmodal proptypes

This commit is contained in:
Igor committed 2019-11-14 11:42:25 -03:00
1 parent 95c18b4986
commit 08fdb10f6d
2 files changed
+19 -7

No files matched your search

@@ -54,7 +54,12 @@ OHIFModal.propTypes = {
onHide: PropTypes.func,
footer: PropTypes.node,
header: PropTypes.node,
children: PropTypes.node,
children: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.node),
PropTypes.node,
PropTypes.object,
PropTypes.func,
]).isRequired,
};
export default OHIFModal;