Skip to content
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

Official support for the static attribute in TabPanel #125

Open
jacktho opened this issue Oct 11, 2022 · 2 comments
Open

Official support for the static attribute in TabPanel #125

jacktho opened this issue Oct 11, 2022 · 2 comments

Comments

@jacktho
Copy link

jacktho commented Oct 11, 2022

As per #1, the static attribute works as expected with TabPanel. However, it's undocumented and there is not typing for it.

It is also not documented for the upstream HeadlessUI so maybe there is something I don't know.

Tailwindui does use static for TabPanel in one of their templates: https://salient.tailwindui.com/

@NoelOConnell
Copy link

It would be interesting to ask on HeadlessUI why it is not documented. static is in the documentation for the other components but not the Tabs component. So either it's just on oversight or they have a thought out reason not to include it.

@ivanvanderbyl
Copy link

I'm sure a PR to update the docs would be welcome, indicating that it's not officially documented upstream but it is available in the current API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants