mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
14 lines
277 B
TypeScript
14 lines
277 B
TypeScript
|
import React from 'react';
|
||
|
import { Pagination } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Pagination
|
||
|
defaultCurrent={3}
|
||
|
total={500}
|
||
|
showQuickJumper
|
||
|
showTotal={(total, range) => `第 ${range.join('-')} 条 / 共 ${total} 条`}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|