Created
April 29, 2020 06:24
-
-
Save wunnle/0778103ad015024f17e6667f1d913b73 to your computer and use it in GitHub Desktop.
Revisions
-
wunnle created this gist
Apr 29, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ "import React": { "prefix": "imr", "body": [ "import React from 'react' \n \n" ] }, "functional component": { "prefix": "sfc", "body": [ "import React from 'react' \n", "const $1 = () => {", "return ('hey')", "}", "\n", "export default $1" ] }, "component": { "prefix": "fc", "body": [ "import React from 'react'", "import styles from './$1.module.scss' \n", "const $1 = () => (", "<div>hey</div>", ")", "\n", "export default $1" ] }, "propTypes": { "prefix": "pt", "body": [ "import PropTypes from 'prop-types'" ] }