const React = require('react'); const Transition = require('react-addons-css-transition-group'); const notificationsStore = require('../store/notificationsStore.js'); function notifications(props) { let notifs = notificationsStore.getNotifications(props.max || 10); let notificationElements = notifs.map(notif => { return (