mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-06 02:15:35 +08:00
13 lines
363 B
TypeScript
13 lines
363 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 />
|
||
|
</ConfigProvider>
|
||
|
);
|
||
|
|
||
|
export default App;
|