Fix React warning

This commit is contained in:
Michael Telatynski 2021-03-09 13:40:48 +00:00
parent 81e1f36c4b
commit dd0b0834e6

View file

@ -27,7 +27,7 @@ export default class InfoDialog extends React.Component {
className: PropTypes.string, className: PropTypes.string,
title: PropTypes.string, title: PropTypes.string,
description: PropTypes.node, description: PropTypes.node,
button: PropTypes.oneOfType(PropTypes.string, PropTypes.bool), button: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
onFinished: PropTypes.func, onFinished: PropTypes.func,
hasCloseButton: PropTypes.bool, hasCloseButton: PropTypes.bool,
onKeyDown: PropTypes.func, onKeyDown: PropTypes.func,