Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "createStatelessComponent": {
- "prefix": "import-stateless",
- "body": [
- "import React from 'react';",
- "",
- "export default ({}) => (",
- " <$1>",
- " ",
- " </$2>",
- ");"
- ],
- "description": "import React and export stateless component"
- },
- "importModule": {
- "prefix": "importFrom",
- "body": ["import $2 from '$1';"],
- "description": "import statement without brackets"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement