mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +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
338 B
TypeScript
15 lines
338 B
TypeScript
import React from 'react';
|
|
import { Pagination } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<Pagination align="start" defaultCurrent={1} total={50} />
|
|
<br />
|
|
<Pagination align="center" defaultCurrent={1} total={50} />
|
|
<br />
|
|
<Pagination align="end" defaultCurrent={1} total={50} />
|
|
</>
|
|
);
|
|
|
|
export default App;
|