Snippets like rfc, rcc, rafc and such returns <_div_> in a single line without braces like this:
export default function Content() {
return <_div_>
}
Is there any way to change it to this format?
export default function Content() {
return (
<_div_>
)
}
Also for some reason even if I enable prettier integration it won't work. For example if i disable semicolon in Prettier and keep the ES7 React semicolon enabled, the snippet will still have semicolon.
Snippets like rfc, rcc, rafc and such returns <_div_> in a single line without braces like this: export default function Content() { return <_div_> }
Is there any way to change it to this format? export default function Content() { return (
<_div_>) }
Also for some reason even if I enable prettier integration it won't work. For example if i disable semicolon in Prettier and keep the ES7 React semicolon enabled, the snippet will still have semicolon.