cbillowes/curious-programmer-helium

View on GitHub
src/components/Share/Telegram.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React, { Component } from "react"
import {
  TelegramShareButton,
  TelegramIcon
} from "react-share"

class Telegram extends Component {
  render() {
    const { url, size } = this.props

    return (
      <TelegramShareButton url={url}>
        <TelegramIcon round size={size} />
      </TelegramShareButton>
    )
  }
}

export default Telegram