A next-generation tool to create blazing-fast documentation sites
API
created:3/5/2021
updated:3/5/2021
loc
6
comments
67%
passed
10
coverage
100%

ExternalLink

avatar of atanasster

Anchor link to an external url, adds the default

target="_blank" rel="noopener noreferrer"
props.

Test data

select
#
href
1
https://joshua.us
2
https://lurline.us
3
http://bernadette.info
4
http://chance.info
5
https://effie.us
5 data rows
Name
Description
Default
Controls
href
string
-

Tests results

Status
Full name
Title
Time(ms)
ExternalLink.test.ts(10 tests)
passed
ExternalLink > overview > 1
snapshot
48
passed
ExternalLink > overview > 1
accessibility
191
passed
ExternalLink > overview > 2
snapshot
67
passed
ExternalLink > overview > 2
accessibility
246
passed
ExternalLink > overview > 3
snapshot
260
passed
ExternalLink > overview > 3
accessibility
201
passed
ExternalLink > overview > 4
snapshot
66
passed
ExternalLink > overview > 4
accessibility
104
passed
ExternalLink > overview > 5
snapshot
54
total 10 tests

Tests coverage

Kind
Total
Covered
Skipped
%
ExternalLink.tsx
lines
4
4
0
100%
functions
1
1
0
100%
statements
5
5
0
100%
branches
0
0
0
100%

Viewport

320px
375px
768px
1024px