Skip to content
API reference

components/quota-meter

Import
import * as api from "@fungi.computer/caps/components/quota-meter";
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”
Signature
type QuotaMeterProps = object &
Omit<HTMLAttributes<HTMLDivElement>, "children">;

Props accepted by QuotaMeter.

Name Type
label ReactNode
value number
max number
valueLabel? ReactNode
maxLabel? ReactNode
description? ReactNode
indicator? ReactNode
tone? ProgressTone

QuotaMeterconstant

Section titled “QuotaMeter”
Signature
const QuotaMeter: ForwardRefExoticComponent<
object &
Omit<HTMLAttributes<HTMLDivElement>, "children"> &
RefAttributes<HTMLDivElement>
>;

A meter presentation for caller-provided quota values.