mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-09 04:46:52 +10:00
Add import of LocaleProvider
This commit is contained in:
committed by
GitHub
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.
|
||||
|
||||
```jsx
|
||||
import { LocaleProvider } from 'antd';
|
||||
import enUS from 'antd/lib/locale-provider/en_US';
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user