You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
366 B
React
16 lines
366 B
React
6 years ago
|
"use strict";
|
||
|
|
||
|
const React = require("react");
|
||
|
|
||
|
const Notification = require("./notification");
|
||
|
|
||
|
module.exports = function NotificationArea({store}) {
|
||
|
return (
|
||
|
<div id="notificationArea">
|
||
|
{store.getVisible().toArray().map((notificationData) => {
|
||
|
return <Notification key={notificationData.id} store={store} {...notificationData} />;
|
||
|
})}
|
||
|
</div>
|
||
|
);
|
||
|
};
|