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.

17 lines
293 B

9 years ago
# 国际化
- order: 7
9 years ago
通过 `locale` 配置时区、语言等, 默认支持 en_US, zh_CN
---
````jsx
import { Pagination } from 'antd';
import enUS from 'antd/lib/pagination/locale/en_US';
ReactDOM.render(
9 years ago
<Pagination defaultCurrent={1} total={50} locale={enUS} />,
mountNode);
9 years ago
````