-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Accordion: Documentation and Typescript definition do not match #6389
Accordion: Documentation and Typescript definition do not match #6389
Comments
Actually accordiontab is right and tab is wrong. Let me fix. |
PR submitted |
Thx, but it looks like your PR does not touch the type definitions which should be adjusted as well. |
Which type defs do you refer? |
If i understand your PR right, you just changed the name of the field from
So the following documentation does not match the types:
|
Yep it looks like tab/accordiontab has always been missing. Let me update. |
OK updated my PR. |
Fix #6389: Passthrough accordiontab not tab
@nrueckmann it looks like this fix broken users again... |
I see the issue |
PrimeReactPTOptions
defines a fieldaccordiontab
to set the passthrough oppions for the AccordionTab component (seeprimereact/components/lib/api/api.d.ts
Line 300 in d8c7f7d
But documentation (https://primereact.org/accordion/#tailwind) is using a field
tab
inside ofAccordionPassThroughOptions
.It seems like the documentation is right, because PrimeReact does not catch up the
accordiontab
field if defined.The text was updated successfully, but these errors were encountered: