Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 365 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 365 Bytes

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>