A next-generation tool to create blazing-fast documentation sites
API
created:4/29/2021
updated:4/29/2021
loc
75
comments
33%
passed
8
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

Name
Description
Default
Controls
title

optional section title for the block.

string
-

Tests results

Status
Full name
Title
Time(ms)
BlockContainer.test.ts(8 tests)
passed
BlockContainer > overview
snapshot
73
passed
BlockContainer > overview
accessibility
350
passed
BlockContainer > notCollapsible
snapshot
25
passed
BlockContainer > notCollapsible
accessibility
224
passed
BlockContainer > customId
snapshot
34
passed
BlockContainer > customId
accessibility
333
passed
BlockContainer > description
snapshot
50
passed
BlockContainer > description
accessibility
327
total 8 tests

Tests coverage

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

A11y tests

Block title

Viewport

Block title

320px

Block title

375px

Block title

768px

Block title

1024px