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

[component-groups | UnavailableContent] - Rename props #671

Closed
fhlavac opened this issue Jun 21, 2024 · 0 comments · Fixed by #717
Closed

[component-groups | UnavailableContent] - Rename props #671

fhlavac opened this issue Jun 21, 2024 · 0 comments · Fixed by #717
Assignees

Comments

@fhlavac
Copy link

fhlavac commented Jun 21, 2024

Follow up to breaking change PR

We've renamed some UnavailableContent props to comply with its base component - PF EmptyState

rename
unavailableTitleText to titleText
unavailableBodyPreStatusLinkText to preLinkBodyText
unavailableBodyPostStatusLinkText to postLinkBodyText

Example:

<UnavailableContent unavailableTitleText='Sample title' unavailableBodyPreStatusLinkText='Sample' unavailableBodyPostStatusLinkText='Sample' />

becomes

<UnavailableContent titleText='Sample title' preLinkBodyText='Sample' postLinkBodyText='Sample' />

Required actions:

  • Build codemod
  • Build test
  • Update readme with description & example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants