2019-07-24 10:34:55 +08:00
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
此处列出 Ant Design 中需要国际化支持的组件,你可以在演示里切换语言。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Components which need localization support are listed here, you can toggle the language in the demo.
|
|
|
|
|
|
|
|
```css
|
2019-12-25 19:30:58 +08:00
|
|
|
.site-config-provider-calendar-wrapper {
|
|
|
|
width: 319px;
|
|
|
|
border: 1px solid #d9d9d9;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
2019-07-24 10:34:55 +08:00
|
|
|
.locale-components {
|
|
|
|
padding-top: 16px;
|
2021-01-30 19:39:02 +08:00
|
|
|
border-top: 1px solid #d9d9d9;
|
2019-07-24 10:34:55 +08:00
|
|
|
}
|
|
|
|
|
2019-12-25 22:13:04 +08:00
|
|
|
.code-box-demo .example {
|
2019-07-24 10:34:55 +08:00
|
|
|
margin: 16px 0;
|
|
|
|
}
|
|
|
|
|
2019-12-25 22:13:04 +08:00
|
|
|
.code-box-demo .example > * {
|
2019-07-24 10:34:55 +08:00
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.change-locale {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
```
|
2019-12-25 19:30:58 +08:00
|
|
|
|
|
|
|
<style>
|
|
|
|
[data-theme="dark"] .locale-components {
|
|
|
|
border-top: 1px solid #303030;
|
|
|
|
}
|
|
|
|
[data-theme="dark"] .site-config-provider-calendar-wrapper {
|
|
|
|
border: 1px solid #303030;
|
|
|
|
}
|
|
|
|
</style>
|