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

Tabs layout should be configurable by call site #645

Open
PavelHolec opened this issue Aug 11, 2023 · 0 comments
Open

Tabs layout should be configurable by call site #645

PavelHolec opened this issue Aug 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@PavelHolec
Copy link
Collaborator

Tabs should let the call site define the sizes of tabs or the whole component.

By default:

  • Tabs would itself be idealSize = false, horizontally expanding.
  • each tab would have idealSize = false too, expanding

A call site could:

Tabs {
   tab1
   tab2
}
.idealSize()   // each tab would have expanding size, but overall the Tabs component would not be expanding
Tabs {
   tab1
       .idealSize()   // this tab would only have its ideal size fixed
   tab2
}
@PavelHolec PavelHolec added the enhancement New feature or request label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant