Skip to content

TextContent + Text results in two Content components #825

Description

@jpinsonneau

Currently, codemod generates two nested Content components even if it's not necessary.

Image

Some scenarios can be challenging, such as if TextContent have an id or css classes that the Text child doesn't.
Maybe covering the simple cases would be good enough ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions