File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " vscode-react-typescript" ,
3- "version" : " 1.1 .0" ,
3+ "version" : " 1.2 .0" ,
44 "description" : " Code snippets for react in typescript" ,
55 "displayName" : " Typescript React code snippets" ,
66 "publisher" : " infeng" ,
Original file line number Diff line number Diff line change 129129 ],
130130 "description" : " Create a React Pure Function Component."
131131 },
132+ "Export Default React Pure Function Component" : {
133+ "prefix" : " tsdrpfc" ,
134+ "body" : [
135+ " import * as React from 'react';" ,
136+ " " ,
137+ " export interface I${1:App}Props {" ,
138+ " }" ,
139+ " " ,
140+ " export default function ${1:} (props: I${1:}Props) {" ,
141+ " return (" ,
142+ " <div>" ,
143+ " ${0}" ,
144+ " </div>" ,
145+ " );" ,
146+ " }" ,
147+ " "
148+ ],
149+ "description" : " Create a default-exported React Pure Function Component."
150+ },
132151 "React Stateless Functional Component" : {
133152 "prefix" : " tsrsfc" ,
134153 "body" : [
You can’t perform that action at this time.
0 commit comments