department-of-veterans-affairs/vets-website

View on GitHub
src/applications/sco/components/HubRail/shared/liVaLink.jsx

Summary

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

const LiVaLink = ({ href, text }) => (
  <li className="vads-u-margin-bottom--0 vads-u-margin-top--0">
    <va-link href={href} text={text} uswds />
  </li>
);

LiVaLink.propTypes = {
  href: PropTypes.string.isRequired,
  text: PropTypes.string.isRequired,
};

export default LiVaLink;