mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 06:01:08 +01:00
* 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
SelectableCardContainer
SelectableCardContainer components are used to hold SelectableCard components. They act as a CSS grid container, and change grid configurations based on the boolean of @gridContainer.
Params
| Param | Type | Default | Description |
|---|---|---|---|
| counters | Object |
|
Counters is an object that returns total entities, tokens, and an array of objects with the total https request per month. |
| gridContainer | Boolean |
false |
gridContainer is optional. If true, it's telling the container it will have a nested CSS grid. |
Example
<SelectableCardContainer @counters={{model}} @gridContainer="true" />
See