Expand JSX tag

Expand a self-closing JSX tag.

Refactoring (Convert)
P42 for VS Code
Expand JSX tag

Why is this refactoring helpful?

Expanding a self-closing JSX element is a preparation step to add text or child elements to a JSX element.

Related Code Actions

Learn More

Available In