We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fd87b3 commit 61a9f33Copy full SHA for 61a9f33
1 file changed
README.md
@@ -66,6 +66,25 @@ And import style manually:
66
import 'tiny-ui/dist/styles/index.css';
67
```
68
69
+## 🌍 Internationalization
70
+
71
+Built-in support for English and Chinese. Set locale via `ConfigProvider` or `IntlProvider`:
72
73
+```jsx
74
+import { ConfigProvider, zh_CN } from 'tiny-ui';
75
76
+const App = () => (
77
+ <ConfigProvider locale={zh_CN}>
78
+ <MyApp />
79
+ </ConfigProvider>
80
+);
81
+```
82
83
+| Locale | Language |
84
+| ------ | -------- |
85
+| en_US | English (default) |
86
+| zh_CN | 简体中文 |
87
88
## 🖥 Browser Support
89
90
Supports all major modern browsers.
0 commit comments