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

feat(AdaptiveTabs): add renderTab prop #87

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

Marginy605
Copy link
Contributor

Closes #45

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@Marginy605
Copy link
Contributor Author

Marginy605 commented Aug 7, 2023

@Raubzeug As concerning issue #45 there shouldn't be overflow wrapped text by design.
But if it is really necessary for custom wrapped tab you can use custom react node for title in items prop:
case in storybook

@Marginy605 Marginy605 force-pushed the adaptive-tabs-wrap-tabs-refact branch from da34d4e to 9e1a462 Compare August 7, 2023 20:22
@Marginy605 Marginy605 force-pushed the adaptive-tabs-wrap-tabs-refact branch 4 times, most recently from 3e472a7 to 5afac13 Compare August 8, 2023 16:26
@Marginy605 Marginy605 force-pushed the adaptive-tabs-wrap-tabs-refact branch from 5afac13 to 26ce81e Compare August 8, 2023 16:30
@Marginy605 Marginy605 merged commit bd4710a into main Aug 8, 2023
@Marginy605 Marginy605 deleted the adaptive-tabs-wrap-tabs-refact branch August 8, 2023 16:52
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

Successfully merging this pull request may close these issues.

AdaptiveTabs. Behavior with wrapTo property
3 participants