gravity-ui/components

[AdaptiveTabs]: enhance wrapTo prop

Flunt1k opened this issue · 0 comments

TODO in the next major.

  1. Let's change wrapTo interface. I suggest this one
    (node, {tab: TabItem | undefined; tabIndex: number | undefined}: RenderOptions) => React.ReactNode

  2. 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.