simplify shared Link component
Created by: sqs
- In tests, call setLinkComponent with the AnchorLink (which uses
<a>
) to avoid each test needing to do so. Update test snapshots to reflect this (mostlyto
prop tohref
). - Export the
AnchorLink
, which was defined duplicatively in several places, which renders an<a href>
givenLinkProps
.