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've renamed LogSnippet prop because of design changes and switching from border variant to alert variant
rename leftBorderVariant to variant
The LogSnippetBorderVariant has been removed and replaced with PF AlertVariant. Perhaps the current values could be mapped to the new ones since the types almost match
Example:
<LogSnippet message='Failure - check logs for details' logSnippet={code} leftBorderVariant={LogSnippetBorderVariant.success} />
becomes
<LogSnippet message='Failure - check logs for details' logSnippet={code} variant={AlertVariant.success} />
or
<LogSnippet message='Failure - check logs for details' logSnippet={code} variant="sucess" />
Required actions:
Build codemod
Build test
Update readme with description & example
The text was updated successfully, but these errors were encountered:
fhlavac
changed the title
[component-groups | LogSnippet] - Rename props
[component-groups | LogSnippet] - Rename leftBorderVariant
Jun 21, 2024
Follow up to breaking change PR
We've renamed LogSnippet prop because of design changes and switching from border variant to alert variant
rename
leftBorderVariant
tovariant
The
LogSnippetBorderVariant
has been removed and replaced with PFAlertVariant
. Perhaps the current values could be mapped to the new ones since the types almost matchExample:
becomes
or
Required actions:
The text was updated successfully, but these errors were encountered: