import React, { PropTypes } from 'react'
import FontAwesome from 'react-fontawesome'
export default class Notifications extends React.Component{
constructor(props) {
super(props)
}
renderNotifications(){
if (!this.props.notifications || this.props.notifications.length <= 0) return null
// we only care about the last notification
var notification = this.props.notifications[this.props.notifications.length-1]
return (
{
this.props.notifications.map(notification => {
switch (notification.type){
case 'shortcut':
return (