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

Bug - Text, TextComponent - not exported by @patternfly/react-core v6.0.0 #11161

Closed
Tracked by #212
riccardo-forina opened this issue Nov 5, 2024 · 1 comment
Closed
Tracked by #212
Assignees
Milestone

Comments

@riccardo-forina
Copy link
Contributor

Describe the problem

Text and TextContent are not exported by @patternfly/react-core v6.0.0

How do you reproduce the problem?
The CodeSandbox suggested by this template already shows the problem.

@kmcfaul
Copy link
Contributor

kmcfaul commented Nov 13, 2024

The Text and TextContent components have been combined into the Content component in v6. We have a codemod that will run as part of the v5 to v6 migration that will automatically update all references, or both Text or TextContent may be manually replaced with Content as the API is largely the same (the major difference is TextContent's isVisited prop becomes isVisitedLink).

@kmcfaul kmcfaul closed this as completed Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants