r5n-labs / vscode-react-javascript-snippets

Extension for React/Javascript snippets with search supporting ES7+ and babel features
MIT License
1.74k stars 442 forks source link

Add option for returning a fragment instead of a div #292

Open hb20007 opened 1 year ago

hb20007 commented 1 year ago

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.

ocamachor commented 1 year ago

x2

neuromagus commented 9 months ago

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