django-rest-messaging-js
Version:
Javascript consumer for django-rest-messaging and django-rest-messaging-centrifugo
24 lines (16 loc) • 400 B
JSX
var React = require('react');
var NotificationsCounterNullDefault = React.createClass({
getDefaultProps: function() {
return {
iconClass: "fa fa-envelope fa-lg"
};
},
render: function() {
return (
<span className={this.props.classNameNotification}>
<i className={this.props.iconClass}></i>
</span>
);
},
});
module.exports = NotificationsCounterNullDefault;