Skip to content

Commit 7d6a876

Browse files
authored
Added default export for React Stateless Functional Component
1 parent e834e77 commit 7d6a876

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)