report-card
v1.0.5arrow_drop_downv1.0.5
v1.0.4
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
154
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
6 years ago
SIZE
12 KB
ReportCard component
1 contributor
Like
Install report-card as a package?
Copied
npm i @bit/dennisdigital.components.organisms.report-card
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
ReportCard ()
ReportCard component
Properties
Name | Type | Default value |
---|---|---|
verdict | string | '' |
rating | number | 0 |
pros | {"title":"string"}[] | [] |
cons | {"title":"string"}[] | [] |
context | {"css_prefix":"string"} | {} |
extraClassNames | {} | {} |
Test Summary
should render without any props | Pass |
check verdict is rendered | Pass |
check date is rendered | Pass |
check correct amount of pros is rendered | Pass |
check correct amount of cons is rendered | Pass |
check extraClassNames is rendered | Pass |