@lundium/locale

Locales for lundium component library

Usage no npm install needed!

<script type="module">
  import lundiumLocale from 'https://cdn.skypack.dev/@lundium/locale';
</script>

README

Lundium UI component library internationalization

Usage

Install dependency into your project:

yarn add @lundium/locale

Import some locale and add it to ThemeProvider:

import { en_US } from '@lundium/locale';
...

<ThemeProvider theme={{ isRTL: boolean('isRTL', false), locale: en_US }}>
/* Component tree */
</ThemeProvider>