{ const f = e.target.files?.[0]; e.target.value = ''; if (f) void upload(f) }} />
{sending ? (
{sending.name}
{formatBytes(sending.size)}
{!sending.progress?.sent && (
)}
{sending.progress?.sent ? FILE_TEXT.sent : (
{FILE_TEXT.sending}{pct != null ? ` · ${Math.round(pct * 100)}%` : ''}
)}
{pct != null && !sending.progress?.sent && (
)}
) : ref ? (
{ref.name}
{formatBytes(ref.size)}
{context && (
)}
) : (
)}
{failure &&
{failure}
}
{context && (
{limitLine}。{FILE_TEXT.whoCanDownload}
)}
)
}