Created
August 8, 2017 08:58
-
-
Save dtinth/07f5de27f159872ab9f38963cbe4760e to your computer and use it in GitHub Desktop.
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': | |
'import react': | |
prefix: 'ir' | |
body: ''' | |
import React from 'react' | |
''' | |
'export function': | |
prefix: 'ef' | |
body: ''' | |
export function $1 ($2) { | |
$3 | |
} | |
''' | |
'export default': | |
prefix: 'ed' | |
body: 'export default $1' | |
'export default function': | |
prefix: 'edf' | |
body: ''' | |
export function $1 ($2) { | |
$3 | |
} | |
export default $1 | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment