import dynamic from 'next/dynamic'; import Link from 'next/link'; import { DetailedHTMLProps, HTMLAttributes, memo } from 'react'; const Button = dynamic(() => import('components/rua/button')); type Props = { hasPrev: boolean; hasNext: boolean; prevLink: string; nextLink: string; current?: number; total?: number; } & DetailedHTMLProps, HTMLElement>; const RUAPagination = ({ hasPrev, hasNext, prevLink, nextLink, current, total, ...rest }: Props) => { return ( <> ); }; export default memo(RUAPagination);