mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Allow any renderable type in HomeNotification texts
This commit is contained in:
parent
38f8d9906d
commit
5f9e8867b4
@ -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…
x
Reference in New Issue
Block a user