Skip to content

Commit 1abb70c

Browse files
committed
Update readme + version
1 parent 134f63d commit 1abb70c

File tree

3 files changed

+39
-32
lines changed

3 files changed

+39
-32
lines changed

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,35 @@ Extension for Visual Studio Code to add snippets for React in ECMA Script 6.
99
Type the snippet prefix and press enter.
1010

1111
```javascript
12-
u-ci // console.info
13-
u-ctor // class constructor
14-
u-impt // import module statement
15-
u-rfc // functional component (stateless)
16-
u-rcc // class component (statefull)
17-
u-it // Jest test `it`
18-
u-desc // Jest test `describe`
19-
u-suite // Jest test suite (with imports)
20-
u-pt // Generic PropType
21-
u-pts // String PropType
22-
u-ptn // Number PropType
23-
u-ptb // Bool PropType
24-
u-ptf // Func PropType
25-
u-pta // Array PropType
26-
u-pto // Object PropType
27-
u-ptsymbol // Symbol PropType
28-
u-pte // Element PropType
29-
u-ptnode // Node PropType
30-
u-ptinstanceof // Instance Of (PropType)
31-
u-ptoneof // One Of (PropType)
32-
u-ptoneoftype // One Of Type (PropType)
33-
u-ptarrayof // Array Of (PropType)
34-
u-ptobjectof // Object Of (PropType)
35-
u-ptshape // Shape (PropType)
36-
u-ptany // Any PropType
37-
u-ptcustom // Custom PropType
38-
u-ptcustomarrayof // Custom ArrayOf PropType
39-
u-actions // Redux actions
40-
u-action // Redux action
12+
u-ci // console.info
13+
u-ctor // class constructor
14+
u-impt // import module statement
15+
u-rfc // functional component (stateless)
16+
u-rcc // class component (statefull)
17+
u-it // Jest test `it`
18+
u-desc // Jest test `describe`
19+
u-suite // Jest test suite (with imports)
20+
u-pt // Generic PropType
21+
u-pts // String PropType
22+
u-ptn // Number PropType
23+
u-ptb // Bool PropType
24+
u-ptf // Func PropType
25+
u-pta // Array PropType
26+
u-pto // Object PropType
27+
u-ptsymbol // Symbol PropType
28+
u-pte // Element PropType
29+
u-ptnode // Node PropType
30+
u-ptinstanceof // Instance Of (PropType)
31+
u-ptoneof // One Of (PropType)
32+
u-ptoneoftype // One Of Type (PropType)
33+
u-ptarrayof // Array Of (PropType)
34+
u-ptobjectof // Object Of (PropType)
35+
u-ptshape // Shape (PropType)
36+
u-ptany // Any PropType
37+
u-ptcustom // Custom PropType
38+
u-ptcustomarrayof // Custom ArrayOf PropType
39+
u-actions // Redux actions
40+
u-action // Redux action
4141
```
4242

4343
## Installation

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "uruit-react-snippets",
33
"displayName": "Uruit React Snippets",
4-
"description": "",
5-
"version": "0.0.1",
4+
"description": "React Snippets with ECMAScript 6",
5+
"version": "1.0.0",
66
"publisher": "UruIT",
7-
"icon": "./images/uruit-logo.png",
7+
"icon": "images/uruit-logo.png",
88
"engines": {
99
"vscode": "^1.13.0"
1010
},

snippets/snippets.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,5 +263,12 @@
263263
"});"
264264
],
265265
"description": "Redux action"
266+
},
267+
"JSX Element className": {
268+
"prefix": "u-cn",
269+
"body": [
270+
"className={styles.$0}"
271+
],
272+
"description": "JSX element class name"
266273
}
267274
}

0 commit comments

Comments
 (0)