Skip to content

Commit 44ef4b9

Browse files
author
Kévin Nové
committed
Add import styled.
1 parent 6f6f05c commit 44ef4b9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Every space inside `{ }` and `( )` means that this is pushed into next line :)
3434
| `imd→` | `import { destructuredModule } from 'module'` |
3535
| `ime→` | `import * as alias from 'module'` |
3636
| `ima→` | `import { originalName as aliasName} from 'module'` |
37+
| `imsc→` | `import styled from 'styled-components'` |
3738
| `exp→` | `export default moduleName` |
3839
| `exd→` | `export { destructuredModule } from 'module'` |
3940
| `exa→` | `export { originalName as aliasName} from 'module'` |

snippets/snippets.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
"prefix": "ima",
2020
"body": "import { ${2:originalName} as ${3:alias} } from '${1:module}'$0"
2121
},
22+
"importStyled": {
23+
"prefix": "imsc",
24+
"body": "import styled from 'styled-components';$0"
25+
},
2226
"exportDefault": {
2327
"prefix": "exp",
2428
"body": "export default $1$0"

0 commit comments

Comments
 (0)