/* eslint-disable react/jsx-indent-props */ /* eslint-disable import/no-absolute-path */ /* eslint-disable import/no-absolute-path */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { translate } from 'react-i18next'; import { withTracker } from 'meteor/react-meteor-data'; import { currentLocationHref } from '/imports/ui/components/Utils/location'; import { FacebookShareButton, GooglePlusShareButton, TwitterShareButton, TelegramShareButton, WhatsappShareButton, RedditShareButton, EmailShareButton, FacebookIcon, GooglePlusIcon, TwitterIcon, TelegramIcon, WhatsappIcon, RedditIcon, EmailIcon } from 'react-share'; import './ShareIt.scss'; class ShareIt extends Component { constructor(props) { super(props); this.t = props.t; } render() { const { title } = this.props; const shareUrl = currentLocationHref(); return (
 
 
 
); } } ShareIt.propTypes = { t: PropTypes.func.isRequired, title: PropTypes.string.isRequired }; ShareIt.defaultProps = { }; export default translate([], { wait: true })(withTracker((props) => { const { title } = props; return { title }; })(ShareIt));