Import
import { Format } from '@cerberus/react'Usage
The byte formatting component extends the number formatting capabilities to handle byte-specific formatting, including automatic unit conversion and display options.
Examples
Basic
Use the Format.Byte component to format a byte value with default options.
Loading example...
Sizes
Use the sizes prop to specify custom byte sizes for formatting.
Loading example...
Locale
Use the locale prop to format the byte value according to a specific locale.
Loading example...
Unit
Use the unit prop to specify the unit of the byte value.
Loading example...
Unit Display
Use the unitDisplay prop to specify the display of the unit.
Loading example...