material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[Tabs] Change Tabs implementation to use context

Open michaldudak opened this issue 3 years ago • 3 comments

Currently, Unstyled Tabs implementation relies on React.cloneElement. Changing it to use context would make it more in line with other components. Plus, it will enable scenarios like the ones described in #33663 or #34393.

michaldudak avatar Nov 10 '22 09:11 michaldudak

Hey! I can try to work on this one and create a PR.

samkevin1 avatar Dec 14 '22 12:12 samkevin1

I haven't looked extensively into the design of this change yet. Do you have any ideas on how you'd like to proceed with this?

michaldudak avatar Dec 14 '22 12:12 michaldudak

@michaldudak I'm not too familiar with the code so I don't have many ideas. Do have any that might help?

samkevin1 avatar Dec 14 '22 12:12 samkevin1