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 }) => ( <>
{text} {textLink}
> ) const ActionTwitter = ({ url, slug }: { url: string; slug: string }) => (