Open PavelHolec opened 1 year ago
Tabs should let the call site define the sizes of tabs or the whole component.
Tabs
By default:
idealSize = false
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 }
Tabs
should let the call site define the sizes of tabs or the whole component.By default:
Tabs
would itself beidealSize = false
, horizontally expanding.idealSize = false
too, expandingA call site could: