Component docs
Loading
"use client";
import { FormatByte } from "@pixxl-tools/components";| Prop | Type | Default | Description |
|---|---|---|---|
value (required) | number | — | Current value (controlled); null where it means "nothing selected". |
locale | string | — | — |
maximumFractionDigits | number | — | — |
unitSystem | "binary" | "decimal" | — | — |
valuerequirednumber
Current value (controlled); null where it means "nothing selected".
localestring
maximumFractionDigitsnumber
unitSystem"binary" | "decimal"
Other props are passed to the root element (HTMLAttributes<HTMLSpanElement>), including className, style, id and aria-* attributes.
<FormatByte value={1536} />