Open jacktho opened 2 years ago
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.
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.
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/