You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
275 B

# LocaleProvider
- category: Components
- chinese: 国际化
- cols: 1
---
9 years ago
为组件内建文案提供统一的国际化支持。
## API
Wrap your App with `LocaleProvider` once.
```jsx
<LocaleProvider locale={enUS}>
<App />
</LocaleProvider>
```
### Add a language