793ad94d08
* add core usage metrics components to storybook, rename component from small to simple * remove const from js file * remove grid container knob from selectable-card
1.2 KiB
1.2 KiB
SelectableCard
SelectableCard components are card-like components that display a title, total, subtotal, and anything after the yield. They are designed to be used in containers that act as flexbox or css grid containers.
Params
Param | Type | Default | Description |
---|---|---|---|
cardTitle | String |
|
cardTitle displays the card title |
total | Number |
0 |
the Total number displays like a title, it's the largest text in the component |
subText | String |
|
subText describes the total |
Example
<SelectableCard @cardTitle="Tokens" @total={{totalHttpRequests}} @subText="Total"/>
See