import * as React from 'react'; import I18n from 'i18n-js'; import Button from '../shared/Button'; import { BoxTitleText, SmallMutedText } from '../shared/CustomTexts'; interface Props { followed: boolean; submitFollow(): void; isLoggedIn: boolean; } const ActionBox = ({followed, submitFollow, isLoggedIn}: Props) => (
{I18n.t('post.action_box.title')}

{ followed ? I18n.t('post.action_box.following_description') : I18n.t('post.action_box.not_following_description') }
); export default ActionBox;