File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,12 @@ Options are supplied as the third parameter to the `CSSModules` function.
185
185
CSSModules (Component, styles, options);
186
186
```
187
187
188
+ or as a second parameter when using ` CSSModules ` as a decorator:
189
+
190
+ ``` js
191
+ @CSSModules (styles, options);
192
+ ```
193
+
188
194
#### ` allowMultiple `
189
195
190
196
Allows multiple CSS class names. Default: ` true ` .
@@ -197,7 +203,7 @@ When `false`, the following will cause an error:
197
203
198
204
#### ` keepOriginal `
199
205
200
- Keeps original CSS class name in addition to names of the CSS Modules. Default: ` true ` .
206
+ Keeps original CSS class name in addition to the names of the CSS Modules. Default: ` true ` .
201
207
202
208
When ` true ` , the following ` ReactElement ` :
203
209
You can’t perform that action at this time.
0 commit comments