API reference
components/quota-meter
Import
Section titled “Import”import * as api from "@fungi.computer/caps/components/quota-meter";Exports
Section titled “Exports”| Kind | Export | Description |
|---|---|---|
| type alias | QuotaMeterProps | Props accepted by QuotaMeter. |
| constant | QuotaMeter | A meter presentation for caller-provided quota values. |
QuotaMeterPropstype alias
Section titled “QuotaMeterProps”type QuotaMeterProps = object & Omit<HTMLAttributes<HTMLDivElement>, "children">;Props accepted by QuotaMeter.
Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
label |
ReactNode |
value |
number |
max |
number |
valueLabel? |
ReactNode |
maxLabel? |
ReactNode |
description? |
ReactNode |
indicator? |
ReactNode |
tone? |
ProgressTone |
QuotaMeterconstant
Section titled “QuotaMeter”const QuotaMeter: ForwardRefExoticComponent< object & Omit<HTMLAttributes<HTMLDivElement>, "children"> & RefAttributes<HTMLDivElement>>;A meter presentation for caller-provided quota values.