mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
* Update repository links to point to main Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Fix broken link in relatedtools.mdx Co-authored-by: Steven Clark <steven.clark@hashicorp.com> Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
1.2 KiB
1.2 KiB
StatText
StatText components are used to display a label and associated value beneath, with the option to include a description.
Params
| Param | Type | Default | Description |
|---|---|---|---|
| label | string |
null |
The label for the statistic |
| value | string |
null |
Value passed in, usually a number or statistic |
| size | string |
null |
Sizing changes whether or not there is subtext. If there is subtext 's' and 'l' are valid sizes. If no subtext, then 'm' is also acceptable. |
| [subText] | string |
SubText is optional and will display below the label |
Example
<StatText @label="Active Clients" @stat="4,198" @size="l" @subText="These are the active client counts"/>
See