open-vault/ui/stories/selectable-card-container.md
Angel Garbarino 793ad94d08
Add Core Usage Metrics Components to Storybook (#8401)
* 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
2020-03-02 10:12:34 -07:00

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