mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
e76e386966
* feat(pagination): simple prop extend to object * feat(pagination): add align prop * Update components/pagination/Pagination.tsx Co-authored-by: afc163 <afc163@gmail.com> Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com> * refactor: remove useless types * refactor(List): align prop --------- Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com>
15 lines
348 B
TypeScript
15 lines
348 B
TypeScript
import React from 'react';
|
|
import { Pagination } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<Pagination simple defaultCurrent={2} total={50} />
|
|
<br />
|
|
<Pagination simple={{ readOnly: true }} defaultCurrent={2} total={50} />
|
|
<br />
|
|
<Pagination disabled simple defaultCurrent={2} total={50} />
|
|
</>
|
|
);
|
|
|
|
export default App;
|