18F/cg-dashboard

View on GitHub
static_src/components/app_activity/log_item.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from "react";
import PropTypes from "prop-types";

const propTypes = {
  statusCode: PropTypes.string,
  requestedUrl: PropTypes.string
};

const LogItem = ({ statusCode, requestedUrl }) => (
  <span className="activity_log-item_text">
    {statusCode} {requestedUrl}
  </span>
);

LogItem.propTypes = propTypes;

export default LogItem;