import React from 'react'
import PropTypes from 'prop-types'
import PreviewLogEntry from './preview-log-entry'
function PreviewLogsPane({ logEntries }) {
return (
{logEntries && logEntries.length > 0 ? (
logEntries.map((logEntry, idx) => (
))
) : (
No logs
)}
)
}
PreviewLogsPane.propTypes = {
logEntries: PropTypes.array
}
export default PreviewLogsPane