mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +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;
|