vscode-react-javascript-snippets icon indicating copy to clipboard operation
vscode-react-javascript-snippets copied to clipboard

Add option for returning a fragment instead of a div

Open hb20007 opened this issue 1 year ago • 2 comments

A lot of us use create more components that return fragments rather than divs. It would be nice to have a Boolean option to enable this, similar to the existing option of importReactOnTop which is also used to customize the snippets.

hb20007 avatar Apr 19 '23 14:04 hb20007

x2

ocamachor avatar May 05 '23 15:05 ocamachor

I added this config option in this pull request, guys... https://github.com/r5n-dev/vscode-react-javascript-snippets/pull/318

neuromagus avatar Feb 03 '24 18:02 neuromagus