@up42/up-components 0.9.1 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,6 +45,7 @@ export { Table, TableBody, TableCell, TableHead, TableContainer, TableRow, Table
45
45
  export { DataGrid, type DataGridProps, type GridColDef, type GridRowId, type GridSelectionModel, } from './components/DataGrid/DataGrid';
46
46
  export { capitalize } from './utils/helpers/capitalize';
47
47
  export { copyToClipboard } from './utils/helpers/copyToClipboard';
48
+ export { formatNumber } from './utils/helpers/formatNumber';
48
49
  export { useQueryParams } from './utils/hooks/useQueryParams';
49
50
  export { useRemotePagination, type PaginatedResponse } from './utils/hooks/useRemotePagination';
50
51
  export { useAlert, type CreateAlertProps } from './global/providers/AlertProvider/AlertProvider';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Returns a string with en-US formatted number.
3
+ *
4
+ * Documentation: https://up-components.up42.dev/?path=/story/utils--page#formatnumber
5
+ */
6
+ export declare const formatNumber: (number: string | number, options?: Intl.NumberFormatOptions | undefined) => string;