mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 13:08:41 +08:00
13 lines
260 B
TypeScript
13 lines
260 B
TypeScript
|
import React from 'react';
|
||
|
import { Pagination } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Pagination simple defaultCurrent={2} total={50} />
|
||
|
<br />
|
||
|
<Pagination disabled simple defaultCurrent={2} total={50} />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|