department-of-veterans-affairs/vets-website

View on GitHub
src/applications/mhv-secure-messaging/components/MessageActionButtons/ComposeMessageButton.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import { Link } from 'react-router-dom';
import { Paths } from '../../util/constants';

const ComposeMessageButton = () => {
  return (
    <div className="vads-u-margin-top--1 vads-u-font-size--lg">
      <Link
        className="compose-message-link vads-c-action-link--green vads-u-font-weight--bold vads-u-padding-left--5"
        to={Paths.COMPOSE}
        data-testid="compose-message-link"
      >
        Start a new message
      </Link>
    </div>
  );
};

export default ComposeMessageButton;