PropTypes as function call (#3731)

This commit is contained in:
Jaco Greeff
2016-12-07 10:46:46 +01:00
committed by GitHub
parent e2bb8ef6d1
commit be90245ecb
6 changed files with 7 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ export default class ConfirmDialog extends Component {
iconDeny: PropTypes.node,
labelConfirm: PropTypes.string,
labelDeny: PropTypes.string,
title: nodeOrStringProptype.isRequired,
title: nodeOrStringProptype().isRequired,
visible: PropTypes.bool.isRequired,
onConfirm: PropTypes.func.isRequired,
onDeny: PropTypes.func.isRequired