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

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 ?