carbon
carbon copied to clipboard
Contained Tabs to include Layer component inside TabPanel
https://github.com/carbon-design-system/carbon/pull/17215 ^ follow up from this PR
Currently in v11 when using Contained Tabs or Vertical Tabs an adopter must use a <Layer>
inside if any field components are being used inside the TabPanel
. TabPanel
has no connection at the moment if the <Tab>
is contained
or not.
idea: Somehow TabPanel
will know if it is a type of Contained
Tab and automatically wrap the children in a <Layer>
. We could also make a codemod that would remove any <Layer>
components being used, so that it would be a seamless transisition for adopters