@ark-ui/react
Version:
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
23 lines (22 loc) • 542 B
text/typescript
export interface FormatByteProps {
/**
* The unit granularity to display
*/
unit?: 'bit' | 'byte' | undefined;
/**
* The unit display
*/
unitDisplay?: 'long' | 'short' | 'narrow' | undefined;
/**
* The unit system to use for formatting
*/
unitSystem?: 'decimal' | 'binary' | undefined;
/**
* The byte size to format
*/
value: number;
}
export declare const FormatByte: {
(props: FormatByteProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};