提交 4486c569 编写于 作者: A afc163

demo: update localeProvider demo

上级 e1a5063d
......@@ -1553,7 +1553,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="Previous Page"
title="上一页"
>
<a
class="ant-pagination-item-link"
......@@ -1608,7 +1608,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="Next Page"
title="下一页"
>
<a
class="ant-pagination-item-link"
......@@ -1635,9 +1635,9 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
<div
class="ant-select-selection-selected-value"
style="display:block;opacity:1"
title="10 / page"
title="10 条/页"
>
10 / page
10 条/页
</div>
</div>
<span
......
......@@ -15,7 +15,7 @@ Wrap your app with `LocaleProvider`, and apply the corresponding language packag
````jsx
import { Pagination, LocaleProvider } from 'antd';
import enUS from 'antd/lib/locale-provider/en_US';
import zhCN from 'antd/lib/locale-provider/zh_CN';
const App = () => (
<div>
......@@ -24,7 +24,7 @@ const App = () => (
);
ReactDOM.render(
<LocaleProvider locale={enUS}>
<LocaleProvider locale={zhCN}>
<App />
</LocaleProvider>
, mountNode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册