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 dbe7de7

Browse files
SeanGroffDamian Sznajder
authored and
Damian Sznajder
committed
remove c from import snippets as there is no component
1 parent adf4c38 commit dbe7de7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Every space inside `{ }` and `( )` means that this is pushed into next line :)
5959
| `imrcp→` | `import React, { Component } from 'react' & import PropTypes from 'prop-types'` |
6060
| `imrpc→` | `import React, { PureComponent } from 'react'` |
6161
| `imrpcp→` | `import React, { PureComponent } from 'react' & import PropTypes from 'prop-types'` |
62-
| `imrmc` | `import React, { memo } from 'react'` |
63-
| `imrmcp` | `import React, { memo } from 'react' & import PropTypes from 'prop-types'` |
62+
| `imrm` | `import React, { memo } from 'react'` |
63+
| `imrmp` | `import React, { memo } from 'react' & import PropTypes from 'prop-types'` |
6464
| `impt→` | `import PropTypes from 'prop-types'` |
6565
| `redux→` | `import { connect } from 'react-redux'` |
6666
| `rconst→` | `constructor(props) with this.state` |

‎snippets/snippets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,14 @@
201201
]
202202
},
203203
"import React, { memo }": {
204-
"prefix": "imrmc",
204+
"prefix": "imrm",
205205
"body": [
206206
"import React, { memo } from 'react'",
207207
""
208208
]
209209
},
210210
"import React, { memo } & PropTypes": {
211-
"prefix": "imrmcp",
211+
"prefix": "imrmp",
212212
"body": [
213213
"import React, { memo } from 'react'",
214214
"import PropTypes from 'prop-types'",

0 commit comments

Comments
(0)

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