import React, { useState } from 'react' import ModalThanks from '../molecules/ModalThanks' import styles from './PostActions.module.scss' import { ReactComponent as Twitter } from '../../images/twitter.svg' import { ReactComponent as Bitcoin } from '../../images/bitcoin.svg' import { ReactComponent as GitHub } from '../../images/github.svg' const ActionContent = ({ title, text, textLink }: { title: string text: string textLink: string }) => ( <>

{title}

{text} {textLink}

) const ActionTwitter = ({ url, slug }: { url: string; slug: string }) => ( ) const ActionCrypto = ({ toggleModal }: { toggleModal(): void }) => ( ) const ActionGitHub = ({ githubLink }: { githubLink: string }) => ( ) export default function PostActions({ slug, url, githubLink }: { slug: string url: string githubLink: string }) { const [showModal, setShowModal] = useState(false) const toggleModal = () => { setShowModal(!showModal) } return ( ) }