Skip to content

Commit 4a3d1a8

Browse files
fix: change PaginationBarContainer props.
1 parent e0a0c6b commit 4a3d1a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/ui/src/components/primitives/pagination.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,10 @@ function PageIndex({ page, totalPage, ...props }: PageIndexProps) {
176176
)
177177
}
178178

179-
function PaginationBarContainer({ children, ...props }: React.ComponentPropsWithRef<'div'>) {
179+
function PaginationBarContainer({ className, ...props }: React.ComponentPropsWithRef<'div'>) {
180180
return (
181181
<div
182-
className={cn('p-6 flex justify-between bg-background border-t border-border', children)}
182+
className={cn('p-6 flex justify-between bg-background border-t border-border', className)}
183183
{...props}
184184
/>
185185
)

0 commit comments

Comments
 (0)