A pack of extensions for grommet 2
created:4/30/2021
updated:4/30/2021
loc
16
comments
19%
passed
1
failed
1
coverage
100%

IconButton

avatar of atanasster

A Button with a hover effect, all properties of Button apply.

Main

Name
Description
Default
Controls
ButtonProps(1 properties)
icon
Element
-
DOMAttributes(1 properties)

Tests results

Status
Full name
Title
Time(ms)
IconButton.test.ts(2 tests)
failed
IconButton main snapshot
snapshot
13
passed
IconButton main accessibility
accessibility
94
total 2 tests

Tests coverage

Kind
Total
Covered
Skipped
%
IconButton.tsx
lines
5
5
0
100%
functions
1
1
0
100%
statements
5
5
0
100%
branches
0
0
0
100%
StyledIconButton.ts
lines
3
3
0
100%
functions
0
0
0
100%
statements
3
3
0
100%
branches
0
0
0
100%

A11y tests

Viewport

320px
375px
768px
1024px