-
-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isVisible is not an exported Prop of Pagination.Item #1077
Comments
i could open a PR for this |
Hey @Carlos-err406, let me investigate this a bit to see where the disconnect is here before opening a PR! |
sure! |
I just came across this error. The examples are incorrect on the main site. Should this be there? |
Fixed in |
I'm still getting this error using shadcn-svelte@next / bits-ui@next + sample code from the next docs. |
I'm also getting the error for this line of the pagination sample code: <Pagination.Item isVisible={currentPage === page.value}>
Using
|
I also get the same error using bits-ui: "1.0.0-next.65" |
Change Type
Correction
Proposed Changes
see here the usage section of the pagination docs
but the isVisible prop from Pagination.Item does not exist, since the props of this component are actually
HTMLAttributes<HTMLLIElement>
, see below for current implementationhere a copy/paste from the docs showing the error
my suggestion is to replace isVisible for hidden
The text was updated successfully, but these errors were encountered: