@nuskin/react-mysite-elements 1.5.0-ui-fixes.13 → 1.5.0-ui-fixes.14
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.
|
@@ -6,6 +6,12 @@ export declare function usePaginatedItems<T>(items: T[], currentPage: number, it
|
|
|
6
6
|
totalPages: number;
|
|
7
7
|
pageItems: T[];
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* Gets the appropriate locale for displaying currency based on the market/region code
|
|
11
|
+
* @param marketCode - The market code (e.g., 'US', 'IN', 'CA')
|
|
12
|
+
* @returns The locale string (e.g., 'en-US', 'en-IN', 'en-CA')
|
|
13
|
+
*/
|
|
14
|
+
export declare function getLocaleFromMarketCode(marketCode?: string): string;
|
|
9
15
|
export declare function formatMoney(value: number, currencyCode?: string, locale?: string, fractionDigits?: number): string;
|
|
10
16
|
export declare function capitalizeFirstLetter(text: string): string;
|
|
11
17
|
/**
|