[AdaptiveTabs]: enhance wrapTo prop
Flunt1k opened this issue · comments
Vladimir Chernitsyn commented
TODO in the next major.
-
Let's change wrapTo interface. I suggest this one
(node, {tab: TabItem | undefined; tabIndex: number | undefined}: RenderOptions) => React.ReactNode
-
Also let's add return tab when render switcher as standalone select. For more select it looks like useless because when user select something in more it will be rendered directly to the left of the selector.