Skip to content

Commit f7b6034

Browse files
authored
Merge pull request #10 from Tauka/master
Added default export for React Stateless Functional Component
2 parents e834e77 + 7d6a876 commit f7b6034

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

snippets/snippets.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@
140140
"const $1: React.SFC<$1Props> = (props) => {",
141141
" return $0;",
142142
"};"
143+
""
144+
"export default $1;"
143145
],
144146
"description": "Create a React Stateless Functional Component."
145147
},

0 commit comments

Comments
 (0)