-
Notifications
You must be signed in to change notification settings - Fork 248
Open
Description
The prop children used to work as expected, and would render controls that were passed via it. Now it appears to no longer render anything. This code used to display two buttons at the bottom of the notification:
const controls =
<div>
<button type="button" onClick={doSomething}>YES</button>
<button type="button" >NO</button>
</div>
const notification = {
dismissible: true,
title: 'some title',
message: "some msg",
level: 'warning',
autoDismiss: 0,
children: controls,
}Now no buttons render unless I use the action prop. For reference, I'm using React 15.6.2
Metadata
Metadata
Assignees
Labels
No labels