Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f9397d8

Browse files
Merge branch 'develop'
2 parents 6a8534a + 1abb70c commit f9397d8

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)

AltStyle によって変換されたページ (->オリジナル) /