add new buttons in account
This commit is contained in:
@@ -1,15 +1,7 @@
|
||||
'use client'
|
||||
|
||||
import React from 'react'
|
||||
|
||||
interface PaginationProps {
|
||||
currentPage: number
|
||||
totalPages: number
|
||||
hasNext: boolean
|
||||
hasPrevious: boolean
|
||||
isLoading: boolean
|
||||
onPageChange: (page: number) => void
|
||||
}
|
||||
import { PaginationProps } from '@/app/types'
|
||||
|
||||
export default function Pagination({
|
||||
currentPage,
|
||||
@@ -33,7 +25,7 @@ export default function Pagination({
|
||||
pageNum === currentPage
|
||||
? 'bg-orange/80 text-white'
|
||||
: 'bg-white text-gray-700 hover:bg-gray-100'
|
||||
} flex items-center justify-center border text-sm font-medium transition-colors`}
|
||||
} flex cursor-pointer items-center justify-center border text-sm font-medium transition-colors`}
|
||||
>
|
||||
{pageNum}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user