Allow any renderable type in HomeNotification texts

feature/default_network_editable
Whymarrh Whitby 5 years ago
parent 38f8d9906d
commit 5f9e8867b4
  1. 8
      ui/app/components/app/home-notification/home-notification.component.js

@ -17,12 +17,12 @@ export default class HomeNotification extends PureComponent {
} }
static propTypes = { static propTypes = {
acceptText: PropTypes.string.isRequired, acceptText: PropTypes.node.isRequired,
onAccept: PropTypes.func, onAccept: PropTypes.func,
ignoreText: PropTypes.string, ignoreText: PropTypes.node,
onIgnore: PropTypes.func, onIgnore: PropTypes.func,
descriptionText: PropTypes.string.isRequired, descriptionText: PropTypes.node.isRequired,
infoText: PropTypes.string, infoText: PropTypes.node,
classNames: PropTypes.array, classNames: PropTypes.array,
} }

Loading…
Cancel
Save