You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We moved the EmptyStateHeader and EmptyStateIcon sub-components of EmptyState to be built into EmptyState and controlled by props rather than passed in composably.
As part of that change we also made the titleText prop required.
This codemod should move props from EmptyStateHeader and EmptyStateIcon to EmptyState as needed, then remove the EmptyStateHeader and EmptyStateIcon component usage and imports.
If a titleText is not available and we can't figure out a way of autogenerating one based on child content passed to the heading before we should flag the missing titleText as an issue requiring manual intervention.
Required actions:
Build codemod
Build test
Update readme with description & example
The text was updated successfully, but these errors were encountered:
Follow up to breaking change PR patternfly/patternfly-react#9947
We moved the EmptyStateHeader and EmptyStateIcon sub-components of EmptyState to be built into EmptyState and controlled by props rather than passed in composably.
As part of that change we also made the titleText prop required.
This codemod should move props from EmptyStateHeader and EmptyStateIcon to EmptyState as needed, then remove the EmptyStateHeader and EmptyStateIcon component usage and imports.
If a titleText is not available and we can't figure out a way of autogenerating one based on child content passed to the heading before we should flag the missing titleText as an issue requiring manual intervention.
Required actions:
The text was updated successfully, but these errors were encountered: