DataSize
Formats byte values into human-readable sizes (B, KiB, MiB, GiB, etc.) using binary scale (1024). Also exports formatSize utility function.
Import
import { DataSize } from 'reablocks';
// or utility only
import { formatSize } from 'reablocks';
DataSize Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | string | null | undefined | — | Byte value to format |
emptyValue | string | 'N/A' | Display |
[Description truncada. Veja o README completo no GitHub.]