import React from 'react'
import { ViewImage } from './ContentViews'
import {formatSize} from '../../utils.js'
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 }) {
return (
{formatSize(message.contentLength)} content size.
)
}