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

[RFR] Add tabs prop to <TabbedForm> to allow injecting custom Tabs component #3288

Merged
merged 7 commits into from
Jun 13, 2019

Conversation

sagarbakhtar
Copy link
Contributor

@sagarbakhtar sagarbakhtar commented May 30, 2019

  • New component TabbedFormTabs to be default prop 'tabs' and replace Tabs in TabbedForm
  • Test cases for a new component
  • Relevant doc changes

Fixes #3116

@sagarbakhtar sagarbakhtar changed the title [WIP] Replace Tabs in TabbedForm with new default prop 'tabs' [RFR] Replace Tabs in TabbedForm with new default prop 'tabs' May 31, 2019
docs/CreateEdit.md Outdated Show resolved Hide resolved
docs/CreateEdit.md Outdated Show resolved Hide resolved
@sagarbakhtar
Copy link
Contributor Author

@djhi Thanks !!

@djhi
Copy link
Contributor

djhi commented May 31, 2019

Thanks for working on this :) I'll wait for @fzaninotto though as this is technically a new feature and we're working on the 3.0 which includes #3246.

It means we'll probably ask you to target the next branch and to ensure the tabs prop accepts a component instead of an element.

@fzaninotto
Copy link
Member

Indeed, please rebase on next as it's a new feature.

@fzaninotto
Copy link
Member

Also, material-ui has implemented scrollable fullwidth tabs in mui/material-ui#15670

@sagarbakhtar sagarbakhtar changed the base branch from master to next June 6, 2019 12:48
@fzaninotto fzaninotto changed the title [RFR] Replace Tabs in TabbedForm with new default prop 'tabs' [RFR] Add tabs prop to <TabbedForm> to allow injecting custom Tabs component Jun 6, 2019
@fzaninotto
Copy link
Member

e2e tests seem to fail, can you take a look?

@sagarbakhtar
Copy link
Contributor Author

Yes, I will check it.

@sagarbakhtar
Copy link
Contributor Author

@fzaninotto fixed the issue.

docs/CreateEdit.md Outdated Show resolved Hide resolved
docs/CreateEdit.md Outdated Show resolved Hide resolved
Co-Authored-By: Gildas Garcia <gildas.garcia@pm.me>
@fzaninotto fzaninotto merged commit 279ff21 into marmelab:next Jun 13, 2019
@fzaninotto
Copy link
Member

Thanks!

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.

None yet

3 participants