Skip to content

Instantly share code, notes, and snippets.

@emmabostian
Created November 25, 2019 14:01
Show Gist options
  • Save emmabostian/dc8f8be1819d7603cf1c6aa111fd0447 to your computer and use it in GitHub Desktop.
Save emmabostian/dc8f8be1819d7603cf1c6aa111fd0447 to your computer and use it in GitHub Desktop.
{
"React Stateless Functional Component": {
"prefix": "rfac",
"body": [
"import React from 'react'",
"",
"const $TM_FILENAME_BASE = () => { ",
"\treturn (",
"\t\t<div>",
"",
"\t\t</div>",
"\t)",
"}",
"",
"export default $TM_FILENAME_BASE;"
],
"description": "Creates a React stateless functional component"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment