ant-design/components/pagination/demo/wireframe.tsx

17 lines
522 B
TypeScript
Raw Normal View History

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;