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
@@ -41,31 +44,30 @@ Creates a folder with following structure:
41
44
42
45
These settings can be changed in VS Code settings under `ackeeFrontend` namespace.
43
46
44
-
| Name | Default value | Description |
45
-
|---|---|---|
46
-
|`moduleDependencies`|`true`| If enabled it uses named imports from dependencies.js file of the module. |
47
-
|`felaHooks`|`false`| If enabled, scaffolded components will use enhanced fela hooks instead of connect HOC. |
48
-
|`typescript`|`false`| If enabled, scaffolded components will be in TypeScript. |
49
-
|`typescriptFelaTheme`|`false`| If enabled, scaffolded styles of components will have `TRuleWithTheme` instead of simple `TRule` (`typescript` option must be enabled). |
50
-
|`typescriptFelaExtendProp`|`false`| If enabled, scaffolded interfaces of components will have `extend` prop. (`typescript` option must enabled). |
51
-
|`includeReactImport`|`false`| If enabled, a scaffolded component will include import of React. |
|`moduleDependencies`|`true`| If enabled it uses named imports from dependencies.js file of the module. |
50
+
|`felaHooks`|`false`| If enabled, scaffolded components will use enhanced fela hooks instead of connect HOC. |
51
+
|`typescript`|`false`| If enabled, scaffolded components will be in TypeScript. |
52
+
|`typescriptFelaTheme`|`false`| If enabled, scaffolded styles of components will have `TRuleWithTheme` instead of simple `TRule` (`typescript` option must be enabled). |
53
+
|`typescriptFelaExtendProp`|`false`| If enabled, scaffolded interfaces of components will have `extend` prop. (`typescript` option must enabled). |
54
+
|`includeReactImport`|`false`| If enabled, a scaffolded component will include import of React. |
55
+
|`useAckeeFelaPackage`|`false`| If enabled, useFelaEnhanced and related types will be imported from @ackee/fela package. |
52
56
53
57
## Snippets
54
58
55
59
Supported languages:
56
60
57
-
* JavaScript (.js)
58
-
* JavaScript React (.jsx)
59
-
60
-
| Trigger | Content |
61
-
|---|---|
62
-
|`frd→`| Fela rule (default export) |
63
-
|`frdt→`| Fela rule with theme (default export) |
64
-
|`fr→`| Fela rule (named export) |
65
-
|`frt→`| Fela rule with theme (named export) |
66
-
|`imrd→`| Import React and PropTypes from dependencies |
67
-
|`ed→`| Export for component indexes |
68
-
|`rfc→`| React stateless component with FelaComponent |
69
-
|`rfcc→`| React stateless component with connectFela HOC |
0 commit comments