import * as React from 'react' import InlineSVG from 'svg-inline-react' import * as cx from 'classnames' import { IUnfollowMenuComponentProps } from './interfaces' import './styles.styl' const unfollowUser = require('!svg-inline-loader?removeTags=true&removeSVGTagAttrs=false!../../../../../img/svg/unfollow-user.svg') const unfollowDomain = require('!svg-inline-loader?removeTags=true&removeSVGTagAttrs=false!../../../../../img/svg/unfollow-domain.svg') const UnfollowMenu = ({ email, userHasSeenUnfollow, hasUnfollowEntries, actions: { addEmailToMuteList, addDomainToMuteList } }: IUnfollowMenuComponentProps) => { const domain = email.split('@').pop() return