import { Button } from 'components/button'; import { Fab, FabColorVariant } from 'components/fab'; import { Col, Container, Row } from 'components/layout'; import { Text } from 'components/text'; import { Visible } from 'components/visible'; import { BlackPage, CloseThick, DownloadFile } from 'icons'; import React from 'react'; import { GestureResponderEvent } from 'react-native'; export const File: React.FC = ({ message, status }) => { const { fileName, fileSize } = message; const colorVariant: FabColorVariant = status === 'downloaded' || status === 'downloading' ? 'primary' : 'body'; const isDownloading = status === 'downloading'; const isDownloaded = status === 'downloaded'; const isPending = status === 'pending'; const CenterElement = () => { return ( <> ); }; return ( } /> {fileName} {fileSize} /{' '} {fileSize} <> -