import React        from 'react'
import ShareButton  from './ShareButton'
import Logo         from './../_assets/svg/LogoTwitter'

export default React.createClass({

  render() {

  	var text = "https://twitter.com/intent/tweet?text=";
  	text += this.props.message;

    return (
    	<ShareButton
    		classes	= "share-button share-button-twitter"
    		post	= { text } >
        	<Logo deltax={250} deltay={250} scale={0.5} />
      	</ShareButton>
    )
  }
})