123456789101112131415161718192021222324 |
- import React from 'react'
- import styles from './index.module.scss'
- import { ArrowRightOutlined } from '@ant-design/icons'
- type Props = {
- clickSon: () => void
- txt: string
- }
- function NextPage({ clickSon, txt }: Props) {
- return (
- <div className={styles.NextPage}>
- <div className='NPdiv' onClick={clickSon}>
- {txt}
- {/* @ts-ignore */}
- <ArrowRightOutlined />
- </div>
- </div>
- )
- }
- const MemoNextPage = React.memo(NextPage)
- export default MemoNextPage
|