Skip to content

Tabs - children prop type updated #168

@nicolethoen

Description

@nicolethoen

Follow up to breaking change PR patternfly/patternfly-react#8217

Anyone using the Tabs component, we need to warn them that the type of the children prop has been updated from React.ReactNode (which was documented to need to be actually Must be React.ReactElement<TabProps>[]) to now be TabsChild | TabsChild[] (which is now documented to mean the same as Only 'Tab' components or expressions resulting in a falsy value)

Required actions:

  1. Build codemod
  2. Build test
  3. Update readme with description & example

Metadata

Metadata

Labels

codemodpf5codemod for p4 to p5 transition

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions