mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
8f2de9a9d7
* fix: disabled pagination should not have hover and focus style * fix: update snapshot * chore: raise size-limit
17 lines
522 B
TypeScript
17 lines
522 B
TypeScript
import React from 'react';
|
|
import { ConfigProvider, Pagination } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<ConfigProvider theme={{ token: { wireframe: true } }}>
|
|
<Pagination showSizeChanger defaultCurrent={3} total={500} />
|
|
<br />
|
|
<Pagination showSizeChanger defaultCurrent={3} total={500} disabled />
|
|
<br />
|
|
<Pagination size="small" defaultCurrent={50} total={500} />
|
|
<br />
|
|
<Pagination disabled size="small" defaultCurrent={50} total={500} />
|
|
</ConfigProvider>
|
|
);
|
|
|
|
export default App;
|