Continue with Facebook Funtionalit

This commit is contained in:
Belen Curcio
2016-11-11 20:18:22 -03:00
parent c72e504af8
commit 103acd4bce
32 changed files with 247 additions and 88 deletions
@@ -0,0 +1,19 @@
import React from 'react';
const Notification = (props) => {
if (props.notification.text) {
setTimeout(() => {
props.clearNotification();
}, props.notifLength);
}
return <div>
{
props.notification.text &&
<dialog open id='coral-notif' className={`coral-notif-${ props.notification.type}`}>
{props.notification.text}
</dialog>
}
</div>;
};
export default Notification;