A next-generation tool to create blazing-fast documentation sites
API
created:4/29/2021
updated:4/29/2021
loc
75
comments
33%
passed
16
coverage
50%

BlockContainer

avatar of atanasster

Collapsible block container with a title. The title creates also an attribute id and an octicon for github style navigation.

Overview

Block 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

optional section title for the block.

string
-

Tests results

Status
Full name
Title
Time(ms)
BlockContainer.test.ts(16 tests)
passed
BlockContainer > overview > 1
snapshot
98
passed
BlockContainer > overview > 1
accessibility
295
passed
BlockContainer > overview > 2
snapshot
39
passed
BlockContainer > overview > 2
accessibility
240
passed
BlockContainer > overview > 3
snapshot
44
passed
BlockContainer > overview > 3
accessibility
270
passed
BlockContainer > overview > 4
snapshot
53
passed
BlockContainer > overview > 4
accessibility
293
passed
BlockContainer > overview > 5
snapshot
69
total 16 tests

Tests coverage

Kind
Total
Covered
Skipped
%
BlockContainer.tsx
lines
14
13
0
92.85%
functions
2
1
0
50%
statements
15
14
0
93.33%
branches
26
22
0
84.61%

A11y tests

Block title

Viewport

Block title

320px

Block title

375px

Block title

768px

Block title

1024px