@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
4 lines (3 loc) • 313 B
TypeScript
export declare const cache: Map<string, Intl.NumberFormat>;
export declare function getFormatter(locale?: string | string[], options?: Intl.NumberFormatOptions): Intl.NumberFormat;
export declare function formatNumber(value: number | null, locale?: string | string[], options?: Intl.NumberFormatOptions): string;