Files
pole-book/server/node_modules/@strapi/ui-primitives/dist/hooks/useCollator.d.ts

10 lines
352 B
TypeScript

/**
* Stolen from @react-aria/i18n
*/
/**
* Provides localized string collation for the current locale. Automatically updates when the locale changes,
* and handles caching of the collator for performance.
* @param options - Collator options.
*/
export declare function useCollator(locale: string, options?: Intl.CollatorOptions): Intl.Collator;