File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import { IcChevronLeft , IcChevronRight } from '@/assets/IconList'
2+ import { twMergeEx } from '@/lib/twMerge'
23import type { UsePaginationReturn } from '@/types/hooks'
3- import clsx from 'clsx'
44
55import { Button } from '@/components/common/button'
66
77const baseStyle =
88 'flex h-24 w-24 items-center justify-center bg-common-white p-0 text-body3 text-gray-600'
9- const defaultPageButtonClass = clsx ( baseStyle , 'hover:bg-gray-100' )
10- const currentPageButtonClass = clsx (
9+ const defaultPageButtonClass = twMergeEx ( baseStyle , 'hover:bg-gray-100' )
10+ const currentPageButtonClass = twMergeEx (
1111 baseStyle ,
1212 'bg-primary-normal text-common-white'
1313)
14+
1415export const Pagination = ( {
1516 currentPage,
1617 pageButtons,
You can’t perform that action at this time.
0 commit comments