created:7/7/2021
updated:7/7/2021
loc
17
comments
18%
failed
4
coverage
50%
ImageStamp
A small image stamp used for avatars or image thumbnails
Name | Description | Default | Controls |
|---|---|---|---|
| contain | Adjust width/height if image is not square. By default, the image is cut off square widthheight | {
"value": null
} | |
| plain | Whether this is a plain image with no border boolean | false | |
| round | How much to round the corners of the stamp mediumlargexsmallsmallfull | - | |
| size | The size of the image stamp mediumlargexlargexxlarge | medium | |
| src | The image source url string | - |
Status | Full name | Title | Time(ms) | |
|---|---|---|---|---|
ImageStamp.test.ts(4 tests) | ||||
failed | ImageStamp > main | snapshot | 62 | |
failed | ImageStamp > main | accessibility | 133 | |
failed | ImageStamp > size | snapshot | 16 | |
failed | ImageStamp > size | accessibility | 62 | |
total 4 tests
Kind | Total | Covered | Skipped | % | |
|---|---|---|---|---|---|
ImageStamp.tsx | |||||
lines | 7 | 7 | 0 | 100% | |
functions | 1 | 1 | 0 | 100% | |
statements | 9 | 9 | 0 | 100% | |
branches | 2 | 1 | 0 | 50% | |
