Remove {…} from JSX attribute
Remove {…}
from a JSX attribute expression value that contains a string literal.
Refactoring (Convert)
P42 for VS Code
Configuration
- Code Assist ID (for the configuration file):
remove-braces-from-jsx-attribute
- You can configure custom keyboard shortcuts with this code action kind:
refactor.convert.toggle.braces.jsx-attribute.p42.remove-braces-from-jsx-attribute