import React from 'react' import { formatSize } from '../../utils.js' import UploadContentButton from './UploadContentButton' import DownloadContentButton from './DownloadContentButton' export function ContentEmpty({ flow, message }) { return (
No {flow.request === message ? 'request' : 'response'} content.
) } export function ContentMissing({ flow, message }) { return (
{flow.request === message ? 'Request' : 'Response'} content missing.
) } export function ContentTooLarge({ message, onClick, uploadContent, flow }) { return (
{formatSize(message.contentLength)} content size.
 
) }