Last active
April 6, 2017 19:56
-
-
Save aholachek/4e14187980297cbe1b9be407ca58a12f to your computer and use it in GitHub Desktop.
Sample snippets.cson for Atom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
".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