File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Generate CSS Modules classname on Svelte components
21
21
- [ Destructuring import] ( #destructuring-import )
22
22
- [ kebab-case situation] ( #kebab-case-situation )
23
23
- [ Unnamed import] ( #unnamed-import )
24
- - [ Directive and dynamic classes ] ( #directive-and-dynamic-classes )
24
+ - [ Directive and dynamic class ] ( #directive-and-dynamic-class )
25
25
- [ Code example] ( #code-example )
26
26
- [ Why CSS Modules on Svelte] ( #why-css-modules-on-svelte )
27
27
@@ -505,7 +505,7 @@ p { font-size: 18px; }
505
505
<p class =" svelte-vg78j0" >My error message</p >
506
506
```
507
507
508
- ### Directive and Dynamic classes
508
+ ### Directive and Dynamic class
509
509
510
510
Use the Svelte's builtin ` class: ` directive or javascript template to display a class dynamically.
511
511
** Note** : the * shorthand directive* is ** NOT working** with CSS Modules.
You can’t perform that action at this time.
0 commit comments