2019-05-23 09:35:22 +10:00
|
|
|
import { connect } from 'react-redux';
|
2023-05-24 01:15:17 +10:00
|
|
|
|
2023-10-25 04:45:08 +11:00
|
|
|
import { ReactComponent as NotificationsIcon } from '@material-symbols/svg-600/outlined/notifications-fill.svg';
|
|
|
|
|
2023-05-09 11:11:56 +10:00
|
|
|
import { IconWithBadge } from 'mastodon/components/icon_with_badge';
|
2019-05-23 09:35:22 +10:00
|
|
|
|
2023-10-25 04:45:08 +11:00
|
|
|
|
2019-05-23 09:35:22 +10:00
|
|
|
const mapStateToProps = state => ({
|
|
|
|
count: state.getIn(['notifications', 'unread']),
|
2019-05-26 10:55:37 +10:00
|
|
|
id: 'bell',
|
2023-10-25 04:45:08 +11:00
|
|
|
icon: NotificationsIcon,
|
2019-05-23 09:35:22 +10:00
|
|
|
});
|
|
|
|
|
2019-05-26 10:55:37 +10:00
|
|
|
export default connect(mapStateToProps)(IconWithBadge);
|