SHARE
TWEET

Untitled

a guest Jun 25th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "createStatelessComponent": {
  3.         "prefix": "import-stateless",
  4.         "body": [
  5.             "import React from 'react';",
  6.             "",
  7.             "export default ({}) => (",
  8.             "  <$1>",
  9.             "    ",
  10.             "  </$2>",
  11.             ");"
  12.         ],
  13.         "description": "import React and export stateless component"
  14.     },
  15.     "importModule": {
  16.         "prefix": "importFrom",
  17.         "body": ["import $2 from '$1';"],
  18.         "description": "import statement without brackets"
  19.     }
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top