Skip to content

Commit 9a3694b

Browse files
authored
Merge pull request #16 from nosajio/update-function-component
Replace deprecated React.SFC with React.FunctionComponent
2 parents 1476959 + fa0c078 commit 9a3694b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/snippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"interface ${1:IApp}Props {$2",
138138
"}",
139139
"",
140-
"const $1: React.SFC<$1Props> = (props) => {",
140+
"const $1: React.FunctionComponent<$1Props> = (props) => {",
141141
" return $0;",
142142
"};",
143143
"",

0 commit comments

Comments
 (0)