mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-01 09:49:03 +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/command'
|
||||||
export * from './primitives/dialog'
|
export * from './primitives/dialog'
|
||||||
export * from './primitives/kbd'
|
export * from './primitives/kbd'
|
||||||
|
export * from './primitives/pagination'
|
||||||
export * from './primitives/popover'
|
export * from './primitives/popover'
|
||||||
export * from './primitives/radioGroup'
|
export * from './primitives/radioGroup'
|
||||||
export * from './primitives/select'
|
export * from './primitives/select'
|
||||||
|
|||||||
@ -39,7 +39,8 @@ function PaginationLink({ className, isActive, size = 'icon', ...props }: Pagina
|
|||||||
variant: isActive ? 'outline' : 'ghost',
|
variant: isActive ? 'outline' : 'ghost',
|
||||||
size
|
size
|
||||||
}),
|
}),
|
||||||
'text-foreground',
|
'text-foreground hover:text-primary hover:shadow-none hover:bg-primary/10',
|
||||||
|
isActive && 'bg-background text-primary',
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user