import React from 'react' import { StyleSheet, Text, View } from 'react-native' import Button from '@components/Button' import { useTheme } from '@root/utils/styles/ThemeManager' import { StyleConstants } from '@root/utils/styles/constants' import openLink from '@root/utils/openLink' export interface Props { attachment: Mastodon.AttachmentUnknown } const AttachmentUnsupported: React.FC = ({ attachment }) => { const { theme } = useTheme() return ( 文件不支持 {attachment.remote_url ? (