mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
feat: add Pagination component exports and enhance PaginationLink styles
- Exported the new Pagination component from the index file to make it available for use. - Updated the PaginationLink styles to improve hover effects and active state visibility, enhancing user experience.
This commit is contained in:
parent
02a65daa27
commit
e694ae68e3
@ -58,6 +58,7 @@ export * from './primitives/combobox'
|
||||
export * from './primitives/command'
|
||||
export * from './primitives/dialog'
|
||||
export * from './primitives/kbd'
|
||||
export * from './primitives/pagination'
|
||||
export * from './primitives/popover'
|
||||
export * from './primitives/radioGroup'
|
||||
export * from './primitives/select'
|
||||
|
||||
@ -39,7 +39,8 @@ function PaginationLink({ className, isActive, size = 'icon', ...props }: Pagina
|
||||
variant: isActive ? 'outline' : 'ghost',
|
||||
size
|
||||
}),
|
||||
'text-foreground',
|
||||
'text-foreground hover:text-primary hover:shadow-none hover:bg-primary/10',
|
||||
isActive && 'bg-background text-primary',
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user