diff --git a/.changeset/healthy-jeans-dream.md b/.changeset/healthy-jeans-dream.md new file mode 100644 index 00000000..af954e5b --- /dev/null +++ b/.changeset/healthy-jeans-dream.md @@ -0,0 +1,5 @@ +--- +"bits-ui": patch +--- + +update `PaginationSnippetProps` type diff --git a/packages/bits-ui/src/lib/bits/pagination/types.ts b/packages/bits-ui/src/lib/bits/pagination/types.ts index 38eb8820..dc21edcd 100644 --- a/packages/bits-ui/src/lib/bits/pagination/types.ts +++ b/packages/bits-ui/src/lib/bits/pagination/types.ts @@ -7,6 +7,7 @@ import type { type PaginationSnippetProps = { pages: PageItem[]; range: { start: number; end: number }; + currentPage: number; }; export type PaginationRootPropsWithoutHTML = WithChild<