Skip to content

Instantly share code, notes, and snippets.

@aholachek
Last active April 6, 2017 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aholachek/4e14187980297cbe1b9be407ca58a12f to your computer and use it in GitHub Desktop.
Save aholachek/4e14187980297cbe1b9be407ca58a12f to your computer and use it in GitHub Desktop.
Sample snippets.cson for Atom
".source.js":
"Mocha it()":
"prefix": "it("
"body": "it('$1', () => {$2})"
"functional component":
"prefix": "functional component"
"body": """
import React, {PropTypes} from 'react'
const $1 = (props) => {
return (<div>$1</div>)
}
export default $1
$1.propTypes = {
}
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment