---
order: 11
title:
zh-CN: 上一步和下一步
en-US: Prev and next
---
## zh-CN
修改上一步和下一步为文字链接。
## en-US
Use text link for prev and next button.
```tsx
import type { PaginationProps } from 'antd';
import { Pagination } from 'antd';
import React from 'react';
const itemRender: PaginationProps['itemRender'] = (_, type, originalElement) => {
if (type === 'prev') {
return Previous;
}
if (type === 'next') {
return Next;
}
return originalElement;
};
const App: React.FC = () => ;
export default App;
```