department-of-veterans-affairs/vets-website

View on GitHub
src/applications/appeals/shared/components/DateSubmitted.jsx

Summary

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

export const DateSubmitted = ({ submitDate, appType }) => (
  <>
    <h4>Date you filed your {appType}</h4>
    <span>{submitDate}</span>
  </>
);

DateSubmitted.propTypes = {
  submitDate: PropTypes.string.isRequired,
  appType: PropTypes.string,
};