department-of-veterans-affairs/vets-website

View on GitHub
src/applications/vaos/covid-19-vaccine/components/VAFacilityPage/NoValidVAFacilitiesV2.jsx

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';
import NewTabAnchor from '../../../components/NewTabAnchor';
import InfoAlert from '../../../components/InfoAlert';

export default function NoValidVAFacilities() {
  return (
    <div aria-atomic="true" aria-live="assertive">
      <InfoAlert
        status="warning"
        headline="We couldn’t find a VA facility where you receive care that accepts online appointments for COVID-19 vaccines"
      >
        <p>
          You’ll need to call your local VA medical center to schedule this
          appointment.{' '}
          <NewTabAnchor href="/find-locations">Find a VA location</NewTabAnchor>
        </p>
      </InfoAlert>
    </div>
  );
}