// @flow import React from 'react'; import type { Claim } from 'types/claim'; import Button from 'component/button'; import * as icons from 'constants/icons'; import Tooltip from 'component/common/tooltip'; import Address from 'component/address'; type Props = { claim: Claim, onDone: () => void, }; class SocialShare extends React.PureComponent { constructor(props: Props) { super(props); this.input = undefined; } input: ?HTMLInputElement; render() { const { claim_id: claimId, name: claimName, channel_name: channelName, value, } = this.props.claim; const channelClaimId = value && value.publisherSignature && value.publisherSignature.certificateId; const { onDone } = this.props; const speechPrefix = 'http://spee.ch/'; const speechURL = channelName && channelClaimId ? `${speechPrefix}${channelName}:${channelClaimId}/${claimName}` : `${speechPrefix}${claimName}#${claimId}`; return (

{__('Share This Content')}

); } } export default SocialShare;