mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
Add import of LocaleProvider
This commit is contained in:
parent
8d1b2c9f32
commit
b288a23c88
@ -11,6 +11,7 @@ If you want to use English or other languages, you can follow instruction below.
|
|||||||
antd provide a React Compnent [LocaleProvider](/components/locale-provider) for configuring antd locale text globally.
|
antd provide a React Compnent [LocaleProvider](/components/locale-provider) for configuring antd locale text globally.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
|
import { LocaleProvider } from 'antd';
|
||||||
import enUS from 'antd/lib/locale-provider/en_US';
|
import enUS from 'antd/lib/locale-provider/en_US';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user