@highlight-ui/i18n
v2.5.0
Published
this is i18n package used among Highlight UI components
Downloads
2,940
Maintainers
Keywords
Readme
@highlight-ui/i18n
Installation
yarn add @highlight-ui/i18n
Usage
Deprecated, don't use in monorepo code.
import { useLocale } from '@highlight-ui/i18n';
function MyComponent() {
const { locale } = useLocale();
return <span>Locale is {locale}</span>;
}