atom-react icon indicating copy to clipboard operation
atom-react copied to clipboard

[IDEA] Snippet for export default class ES6

Open AndrewJGregory opened this issue 7 years ago • 0 comments

With every new component I type export default class ${className} extends React.Component {}. I'd love to add a snippet for this, however I'm a bit unsure on how to do it. I've forked this repo and added the appropriate snippet in snippets/JavaScript (JSX).cson, but I don't know what needs to be in done in terms of testing or actually integrating it. Some guidance would be appreciated.

AndrewJGregory avatar Mar 15 '18 21:03 AndrewJGregory