You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-15
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This extension contains code snippets for React with Typescript (optionally, wit
6
6
7
7
It contains no class component APIs, assumes you use synthetic default imports, has hooks and subjectively better prop scaffolding.
8
8
9
-
It does a bit more based on the principle that it is easier to delete than to type, and so that we have just 3 easy to remember snippets.
9
+
It does a bit more based on the principle that it is easier to delete than to type, and so that we have just 3 easy to remember snippets: `rfc`, `rhc`, `rsc`.
10
10
11
11
## Installation
12
12
@@ -39,12 +39,11 @@ Below is a list of all available snippets and the triggers of each one. The **
39
39
"React Function Component": {
40
40
"prefix": "rfc",
41
41
"body": [
42
-
"export type ${1:IApp}Props = {$2",
43
-
"}",
44
-
"",
45
-
"const $1: React.FC<$1Props> = ({ children }) => {",
0 commit comments