import { BlurView } from 'expo-blur' import React from 'react' import { Image, Platform, Pressable, StyleSheet, Text, View } from 'react-native' import { Feather } from '@expo/vector-icons' import ProfilePicture from '../../../components/ProfilePicture' import { icons } from '../../../assets' import { Palette } from '../../../styles' import { FONT_FAMILY } from '../../../styles/Fonts' import { size } from '../../../styles/Style' const PlaybackActions = ({ owner, currentUID, isFollowing, isFollowActionPending, onToggleFollow, likesCount, isLiked, onToggleLike, commentsCount, onCommentsPress, onShare, onReport, onOpenProfile, }) => { return ( {owner?.id && owner.id !== currentUID && ( {isFollowing ? 'Suivi(e)' : 'Suivre'} )} {!!likesCount && {likesCount}} {!!commentsCount && {commentsCount}} Signaler ) } const styles = StyleSheet.create({ actionsColumn: { alignSelf: 'flex-end', alignItems: 'center', gap: 20, paddingHorizontal: 13, }, profileWrapper: { gap: 6, alignItems: 'center' }, followButton: { paddingVertical: 6, paddingHorizontal: 12, borderRadius: 12, borderWidth: 1, borderColor: Palette.white, overflow: 'hidden', }, followText: { fontSize: 13, color: Palette.white, fontFamily: FONT_FAMILY.InterMedium, }, centered: { alignItems: 'center' }, countText: { color: Palette.white, fontSize: 11, marginTop: 4, fontFamily: FONT_FAMILY.InterMedium, textAlign: 'center', }, }) export default PlaybackActions