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

TitledImage

avatar of atanasster

Image component with a title if available

Overview

alt textsome image title

Test data

select
#
title
1
Cecelia Langosh
2
Cassidy Brekke
3
Chance Kessler
4
Cleo Lindgren
5
Adeline Welch
5 data rows
Name
Description
Default
Controls
title
string
-

Tests results

Status
Full name
Title
Time(ms)
TitledImage.test.ts(10 tests)
passed
TitledImage > overview > 1
snapshot
60
passed
TitledImage > overview > 1
accessibility
116
passed
TitledImage > overview > 2
snapshot
51
passed
TitledImage > overview > 2
accessibility
94
passed
TitledImage > overview > 3
snapshot
52
passed
TitledImage > overview > 3
accessibility
116
passed
TitledImage > overview > 4
snapshot
98
passed
TitledImage > overview > 4
accessibility
169
passed
TitledImage > overview > 5
snapshot
78
total 10 tests

Tests coverage

Kind
Total
Covered
Skipped
%
TitledImage.tsx
lines
8
8
0
100%
functions
1
1
0
100%
statements
9
9
0
100%
branches
8
6
0
75%

A11y tests

alt textsome image title

Viewport

alt textsome image title
320px
alt textsome image title
375px
alt textsome image title
768px
alt textsome image title
1024px