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

[AdaptiveTabs]: enhance wrapTo prop #26

Open
Flunt1k opened this issue Mar 30, 2023 · 0 comments
Open

[AdaptiveTabs]: enhance wrapTo prop #26

Flunt1k opened this issue Mar 30, 2023 · 0 comments
Assignees

Comments

@Flunt1k
Copy link
Contributor

Flunt1k commented Mar 30, 2023

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.

@Flunt1k Flunt1k changed the title FIXME[AdaptiveTabs]: add passing activeTab for selector FIXME[AdaptiveTabs]: add return activeTab for selector Mar 30, 2023
@Flunt1k Flunt1k changed the title FIXME[AdaptiveTabs]: add return activeTab for selector FIXME[AdaptiveTabs]: enhance wrapTo prop Mar 30, 2023
@Flunt1k Flunt1k changed the title FIXME[AdaptiveTabs]: enhance wrapTo prop [AdaptiveTabs]: enhance wrapTo prop Mar 30, 2023
@Flunt1k Flunt1k self-assigned this Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant